0

Do I need to know HTML before learning Javascript DOM?

3rd Sep 2021, 3:19 PM
Lucas Rojas
Lucas Rojas - avatar
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.
3rd Sep 2021, 3:32 PM
Avinesh
Avinesh - avatar
+ 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.
3rd Sep 2021, 3:32 PM
Ipang
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.
3rd Sep 2021, 3:47 PM
Lennart Krauch
Lennart Krauch - avatar