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
arturop200
arturop200 - 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