0
<div>hi<div>there</div>var el = document.getElementsByTagName("div"); document.write(el.length);
What's the output and how?
1 Antwort
+ 6
Hello there!
I made a small code where I explained a bit your code and how the output is.
For any further explanation or if something isn't clear just let me know. :)
https://code.sololearn.com/Wz08Vk1GK3Ec/?ref=app