What is Javascript?






Js is acronym for javascript.


"java script is a client side scripting language."

You heard this sentence very  frequently but did you know what does it mean and how it diffrent from other programming language ? how it works ? 


List of online websites available for run javascript and provide complete enviroment to run javascript.

What is client side scripting ?

you have to understand  client -server arcitecture for understand what is client side and what is server side.
Client -server is a two tier arcitecture on which www or websites are work

a copy of websites are placed on server and whenever you request the website by its url from your browser the the web page is first process on the server in which server side scripts run and availble for you on your browser after that on your response on webpage like click on a button,checking a chekbox or toggle a radio button some script are run on your browser .

                  Eg. 
                                1. when you press a button a popup is come on front .
                                2.click  on a link new tab is open .
                                4. click on button color of text is change .
                                5. on clikc on text font size change( become large or small )

         Check here How javascript Work in Browser    https://jsbin.com/beyacar


Now you are able to understand something about clint side scripts


How Javascript work in browser

 The way JavaScript works is interesting. Inside a normal Web page you place some JavaScript code . When the browser loads the page, the browser has a built-in interpreter that reads the JavaScript code it finds in the page and runs it.

every browser have a javascript interpreter crome have V8 Engine  interpreter  
which run java script  in crome 
every line of javascript runs at run time javascrit is not compiled like C,C++ and Java and other language.

Online plateforms










Comments

Post a Comment