What is the error and how to correct it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

What is the error and how to correct it?

Why this code is not working properly??! https://code.sololearn.com/W0eTake7Eff0/?ref=app

28th Mar 2020, 9:15 AM
Rimjhim
Rimjhim - avatar
4 Answers
+ 8
Rimjhim Singh[inactive] Where is createcanvas function in your Code.
28th Mar 2020, 10:00 AM
A͢J
A͢J - avatar
+ 8
AJ #Level 20 End Game/Day Still not working
28th Mar 2020, 9:31 AM
Rimjhim
Rimjhim - avatar
+ 7
I have specified inner width but still it is not working what to do.
28th Mar 2020, 9:16 AM
Rimjhim
Rimjhim - avatar
+ 4
Rimjhim Singh[inactive] You didn't defined innerWidth and innerHeight. Define like this var w = window.innerWidth; var h = window.innerHeight;
28th Mar 2020, 9:24 AM
A͢J
A͢J - avatar