Why we use JavaScript. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we use JavaScript.

24th Dec 2016, 7:35 AM
Mrityunjay Kumar
Mrityunjay Kumar - avatar
3 Answers
+ 5
Mainly to make webpages more flexible (aka more dynamic instead of static) by adding tools/functions into it
24th Dec 2016, 7:37 AM
Wen Qin
Wen Qin - avatar
+ 5
To make your website more advanced (CSS and HTML can't do that)
24th Dec 2016, 7:37 AM
Valen.H. ~
Valen.H. ~ - avatar
0
Javascript makes the page dynamic and allows reaction to the user input. for example you could write a javascript function that triggers as soon as a user enters a string in a text box, that would modify the page or auto complete other fields depending on the input.
24th Dec 2016, 9:55 AM
ifl
ifl - avatar