Why use javascript & its libraries? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why use javascript & its libraries?

why use javascript or jquery etc to access DOM and make changes to the HTML rather than changing the Html itself?

2nd Aug 2017, 11:19 PM
Peter
Peter - avatar
5 Answers
+ 8
Because some things are just impossible or at least hard using only HTML, like creating a menu, timer and a lot of other things
2nd Aug 2017, 11:23 PM
The Coding Sloth
The Coding Sloth - avatar
+ 1
They make coding easier
2nd Aug 2017, 11:42 PM
LordGhostX
LordGhostX - avatar
+ 1
They make web development including JavaScript more easier like how to quickly create animations using jQuery and targeting html tags
2nd Aug 2017, 11:46 PM
LordGhostX
LordGhostX - avatar
+ 1
HTML is not a programming language, it's a mark up language, it can't do any progrmming job as Javascript does.
3rd Aug 2017, 1:20 AM
Calviղ
Calviղ - avatar
0
"They make coding easier"... please elaborate
2nd Aug 2017, 11:44 PM
Peter
Peter - avatar