I need some advice

Hi fellow codecademy users!

I need some help figuring the syntax I made from the project I’m doing. Basically they’re giving me this error message. Here’s the project by the way:(https://www.codecademy.com/courses/introduction-to-javascript/projects/race-day)

I tried changing the let variable with ‘const’ but it doesn’t apply the proper results.

Here’s my original syntax input:

. Here you can see I want the ‘let raceNumber’ interpolated into my strings at my ‘if…else’ statement. I’m aware my solution is false, but I need someone who can help me clarify my mistakes. Thank you so much in advance!

1 Like

Your error says the error originates in line 15 (that’s the home/ccuser/.../main.js:15 part of the error message in the very beginning of your screenshot)… so check line 15.

All expressions should be fully complete before compiling/running :slight_smile:


Hi toastedpitabread,

thank you for you’re observant solution, i managed to change the my syntaxes. It’s responding perfectly now.

1 Like