Where ca I use JS DOM & Events? | SoloLearn: Learn to code for FREE!


Where ca I use JS DOM & Events?

What and where is element.childNodes or element.firstChild, element.lastChild, element,nextSiblings, etc used? Also, How is it used? Which Syntax? and ist applications in JS or HTML ?

4/24/2020 4:54:41 PM

Shipra Waghmare

3 Answers

New Answer


When your target elements are grouped in a container element.


For more context https://medium.com/@fknussel/dom-bom-revisited-cf6124e2a816


And can you please type in an example?