Addeventlistener does not work in solo learn play ground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Addeventlistener does not work in solo learn play ground

Please help me

13th Dec 2020, 9:50 AM
Emmanuel Ezoba
Emmanuel Ezoba - avatar
7 Answers
0
It does. Where's your code? It's addEventListener not Addeventlistener
13th Dec 2020, 10:00 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
I have deleted the codes but when I use onclick function on the HTML it works perfectly
13th Dec 2020, 10:02 AM
Emmanuel Ezoba
Emmanuel Ezoba - avatar
0
Emmanuel Ezoba If you writing your javascript code in js section then wrap your code in window.onload function. window.onload = function () { //your code } https://code.sololearn.com/W0yrVcw3F58X/?ref=app
13th Dec 2020, 10:24 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
Cus i have some really big question if you are interested your WhatsApp number let chat on WhatsApp
13th Dec 2020, 10:44 AM
Emmanuel Ezoba
Emmanuel Ezoba - avatar
0
Emmanuel Ezoba Sorry, you have to ask your questions in Q/A Discussion.
13th Dec 2020, 10:56 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
Hey Emmanuel, please be sure you always share the code you have issue with.... It's easier to help you out.
13th Dec 2020, 11:06 AM
Raj Chhatrala
Raj Chhatrala - avatar
- 2
Hello can I be your friend
13th Dec 2020, 10:44 AM
Emmanuel Ezoba
Emmanuel Ezoba - avatar