0

Please someone help me in JavaScript DOM when I select the elements from HTML and tried to change the contents it return null 🖐

https://code.sololearn.com/Wu6k8h2K33wc/?ref=app

30th Sep 2022, 10:25 PM
Ibrahim Habibu
Ibrahim Habibu - avatar
2 ответов
+ 4
Hey! That's because your javascript runs before the document has finished loading. Try this: https://code.sololearn.com/WjMHYblpbpbb/?ref=app
30th Sep 2022, 10:30 PM
Schindlabua
Schindlabua - avatar
0
Thank you so much 👏
30th Sep 2022, 11:08 PM
Ibrahim Habibu
Ibrahim Habibu - avatar