+ 3
Can i learn JavaScript without learning HTML??
Can i learn JavaScript without learning HTML??
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.
+ 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