Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
5

I have an error, and I cannot fix it.

Logimite
Logimite

I am making a program with JavaScript using an HTML canvas. Error: Expected '}'.I tried really hard to see what is the error, but all of the braces look even. Help would be appreciated. This is the link to my code: https://repl.it/@laksh5/The-Blob-Game.

4 years ago
You are viewing a single comment. View All
1
Logimite
Logimite

I fixed my other errors, and now I get this: TypeError: Unable to get property 'getContext' of undefined or null reference
at Global code (https://replbox.repl.it/data/web_hosting_1/laksh5/The-Blob-Game/script.js:3:1). Is this what you got, too?

4 years ago