+ 3

Can i learn JavaScript without learning HTML??

Can i learn JavaScript without learning HTML??

28th Dec 2017, 2:58 AM
Rishabh
Rishabh - avatar
2 Answers
+ 6
You should learn both HTML and CSS prior to learning JavaScript. A lot of JavaScript is interacting with the Document Object Model (DOM) of a web page and its attributes/properties etc (CSS) which will require knowledge of HTML and CSS. After learning JavaScript you may want to also learn JQuery, which is a JavaScript library.
28th Dec 2017, 3:29 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
While knowing HTML isn't mandatory I completely agree with chaoticdawg. I will leave the project I just did that uses no HTML and very little CSS. But note the JavaScript commands are HTML passed in strings to the Dom. https://code.sololearn.com/WNuT9HF2FIIB/?ref=app
28th Dec 2017, 6:44 AM
Michael Simnitt
Michael Simnitt - avatar