- 1

what is Javascript

i need clear explanation from this question please help

7th Jan 2018, 8:11 PM
Richard Michael
Richard Michael - avatar
4 Answers
+ 11
Greetings Richard Michael, I know those badges are tempting but do not post questions you already know the answer to, it is a kind of spamming and this particular question is not exactly a new one
7th Jan 2018, 8:56 PM
David Akhihiero
David Akhihiero - avatar
+ 2
JavaScript can tell your browser to do certain things. For example, there's a event listener for mouse click in your browser. Meaning, there's a code running in the background which is waiting for you to click. As soon as you click, JavaScript knows it. Now, you can have a JavaScript code that says change the background color of the webpage, and then revert after certain time. That's just a basic example. You can use JavaScript for complex works, that basic CSS and HTML can't do. Like, calculate the mid-point of a div in HTML, and determine how far is mouse's pointer from that. At the same time, have a circle constantly chase the mouse but not if the mouse is at the right side of the mid-point. Also, stop this all after 5 sec, then start again after a gap of 2 sec. There you go, JS is the main logic backbone of the front end web development.
7th Jan 2018, 8:54 PM
Manu Karki
Manu Karki - avatar
+ 1
Script language for use in web pages, but just working in browser on client side.
7th Jan 2018, 10:42 PM
Zurab Mutsiev
Zurab Mutsiev - avatar
- 1
JavaScript can be used in interaction to any webpage
7th Jan 2018, 8:12 PM
Richard Michael
Richard Michael - avatar