background(209, 255, 244);
textsize(22);
fill(0, 0, 0);
text("Welcome to our progamming course!" , 20, 181);
line(200, 200, 150, 250);
// note: I'm not actually a beaver.
image(getImage("creatures/Hopper-Happy"), 40, 250);
I know it's a bit weird I copied the code off khan acedemy so I don't know why it's not working
output:
js: uncaught JavaScript runtime exception: ReferenceError: "background" is not defined.
...Program finished with exit code 3
Press ENTER to exit console.