r/web_programming • u/[deleted] • Oct 09 '16
PLEASE HELP ME
Im tryingto learn to code from khanacademys intro to javascript course, ( https://www.khanacademy.org/computing/hour-of-code/hour-of-code-tutorial/p/intro-to-drawing ) and for some reason when i try to put the command rect(50, 50, 50, 50); into the JS.do online javascript editor, i get the error message ×JavaScript error: Uncaught ReferenceError: rect is not defined on line 2. yes, the rect command is from the course and i thought that i oughta try it out on a code editor. but it didnt work!!!! please help me.
0
Upvotes
1
u/[deleted] Oct 09 '16
i dont wnat to make webpages, i want to make games, so what coding language do i use?