0
Do I need to know HTML before learning Javascript DOM?
3 Answers
+ 2
Yes you should learn HTML before learning javascript DOM because it involves accessing elements from the HTML. You should know about parent child relationship. Classes and ID's are few of the concepts that are commonly used.
You can learn Javascript as a language separately but when it comes to DOM, some HTML knowledge helps.
+ 1
Learning HTML, even just a bit, helps in learning Javascript DOM.
Geting into habit of indenting HTML code properly also helps us to visualize the DOM hierarchy.
0
Just make urself familiar with the basic concepts of HTML.
It's not a hard language and is easy to understand.
Down the line, you will probably want to learn it anyways.