Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Why is their an error

+2 votes
asked May 6, 2020 by Ivana Ogunlaja (640 points)


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.           

2 Answers

+1 vote
answered May 6, 2020 by kierane123 (170 points)
cause it is the big bad
commented May 6, 2020 by Ivana Ogunlaja (640 points)
what big bad
+1 vote
answered May 10, 2020 by Cлaвeн Ђервида (160 points)
Can you explain what you want?
commented May 15, 2020 by Ivana Ogunlaja (640 points)
no, I just want there not to be an error
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...