0
Issue w/ my code on JS for Games
So it appears that no matter how many times I input the Javascript Code provided in the JS For Games section on circles - it appears that I keep getting an "error". Here is the code in question - what exactly is wrong w/ it OR is it a bug? var canvas = document.getElementById("canvas"); var context = canvas.getContext("2d"); var x = 300; var y = 350; context.arc(x, y, 50, 0, 2*Math.PI); context.fillStyle = "red"; context.fill();
6 Answers
+ 2
Yes
+ 1
I inserted it outside the window - OH I was supposed to put that in the window function, right BroFar?
+ 1
Just did it. Lol. Still got a long way to go.
0
Could you tell which error you're getting?
0
Conor Climo so that we can help you better can we see the rest of your code? There was a specific location in the JS script where that was suppose to be inserted.
0
Same here man, I remember missing so many small details and messing up the whole code.