Hello, help me with my code please. Everything is correct in it, but for some reason it does not work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello, help me with my code please. Everything is correct in it, but for some reason it does not work

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

6th Nov 2020, 1:18 PM
Zero
Zero - avatar
2 Answers
+ 3
Wrap your code inside window.onload event handler function window.onload=function(){ //Your js code here or the one that is selecting the dom elements }
6th Nov 2020, 1:22 PM
Abhay
Abhay - avatar
0
THANKEE!
6th Nov 2020, 1:28 PM
Zero
Zero - avatar