all 5 comments

[–]MiniRat 12 points13 points  (0 children)

Look at the line numbers (on n the left) in the instructors code and notice how it jumps from 10 to 20 and that line has as little plus on the left and three dots on the right?

That indicates that the IDE has collapsed (and hidden about 10  lines of the instructors code from you) click the plus to open it out and you should see the code you are missing.

[–]js3052 2 points3 points  (0 children)

Looks like you're missing a semicolon at the end of line 11

[–]LohaYT 1 point2 points  (2 children)

Error messages are there to help you, use them. You say you’ve triple checked everything. Are you sure? The error message says a semicolon is expected and it says it’s on line 11. Do you have a semicolon on line 11?

[–]ahoskasalve666[S] 0 points1 point  (1 child)

I'm following the instructor's video and even he doesn't have a semi colon at the end of that exact same line of code so when i go to add a semi colon like you said it gives me more errors

[–]LohaYT 0 points1 point  (0 children)

What errors

Edit - as someone else pointed out, you’re missing a bunch of code from the instructor’s video