- 1

How can i display the second child in body like the first node. Thanks you sir.

Display the second child in body. https://code.sololearn.com/WdgybC2ti6n3/?ref=app

9th Dec 2021, 12:59 PM
Malick Diagne
Malick Diagne - avatar
2 Respuestas
+ 1
Try either one of these console.log (document.body.children[1]..innerHTML ); console.log (document.body.childNodes[3].innerHTML ); Tag Javascript please ...
9th Dec 2021, 1:14 PM
Ipang
+ 1
Wow. 400 questions without once using proper tags. That takes real commitment.
9th Dec 2021, 3:12 PM
Simon Sauter
Simon Sauter - avatar