If you help me fix this error, you WILL GET CREDITS | Sololearn: Learn to code for FREE!
0

If you help me fix this error, you WILL GET CREDITS

Hello, I was coding Atari's breakout, and I came across this error, I think it's about a misspelled function name, but it looks like I spelled it right, if someone can help me fix this error I will credit you! Here's the code https://code.sololearn.com/W9C2wH6PyUY9/?ref=app

23rd Oct 2022, 5:01 AM
RayZ
RayZ - avatar
3 Answers
+ 1
which error?
23rd Oct 2022, 5:40 AM
arturop-404
arturop-404 - avatar
+ 1
RayZ Use window.onload function to execute JS code because JS code loads first before loading html contents.
23rd Oct 2022, 6:46 AM
A͢J
A͢J - avatar
- 1
Arturop it's the uncaughtTypeError one, the error is in line 56 JavaScript
23rd Oct 2022, 5:49 AM
RayZ
RayZ - avatar