4 ms·
As for DOM I agree. DOM provides a rather rich collection of widgets with which to create "interesting" output which with most other languages requires a GUI fr
by CyberFonic 12y ago
As for DOM I agree. DOM provides a rather rich collection of widgets with which to create "interesting" output which with most other languages requires a GUI framework with its own learning curve. The DOM learning process which worked for me was to :
Write a simple page in HTML, then open it in Dev Tools and understand the structure, etc.
Then re-create it using document.createElement(), etc.
I've re-read parts of David Flanagan's "Javascript the Definitive Guide" many times before I became proficient with many essential concepts in JS. I recommend the book (yes in hardcopy) as a valuable adjunct to Mozilla's docs.