Confused | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Confused

https://code.sololearn.com/WoOCdvsepc7G/?ref=app I was coding simple incremental game,it's gives me error,I looked anything but seems I can't find it Sorry I'm a beginner at website development

19th Oct 2019, 5:08 AM
prisma
prisma - avatar
2 Réponses
+ 1
Put your javascript inside a window.onload function: window.onload = () => { // ... };
19th Oct 2019, 5:17 AM
Brian R
Brian R - avatar
0
Thanks for the solution
19th Oct 2019, 5:20 AM
prisma
prisma - avatar