Small mistake in Step 20 of Javascript course

Step 20 tells us to create a variable named ‘xp’. If we create variable named anything else like ‘camperbot’ in my case and check the code, the error is said to be “Don’t forget the semi-colon at the end of the line.” instead of wrong variable name.

can you link the step for us?

thanks

url: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-javascript-by-building-a-role-playing-game/step-20

Thanks for catching this.

It looks like there is an issue with the third test which is why it is jumping straight to the last test to check to make sure you have a semicolon after your variable declaration.

I’ll create an issue for it

1 Like

this is the fastest support i have ever seen. thanks a lot for your hard work. i will mark this as solved then.

1 Like