Can you debug my code plz? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
20th Jul 2018, 2:39 PM
Sina
Sina - avatar
4 Answers
+ 4
Your body onclick shadows the div1 onclick. Removing the body onclick shows that div1 onclick is working. Your best bet? Replace body onclick with something else. Maybe make div2 clickable instead of body.
20th Jul 2018, 2:43 PM
Hatsy Rei
Hatsy Rei - avatar
0
What do you mean??
20th Jul 2018, 4:40 PM
Sina
Sina - avatar
0
Can you write the code again plz
20th Jul 2018, 4:40 PM
Sina
Sina - avatar
0
Plz help
20th Jul 2018, 6:09 PM
Sina
Sina - avatar