Hi, I’ve been trying to do the “race day” project code below:
and I got the Syntax unexpected token error plz help
Hi, I’ve been trying to do the “race day” project code below:
and I got the Syntax unexpected token error plz help
At the bottom of the exercises/projects, there is a “Copy to Clipboard” button. After copying your code, you can post it in the forums using the </>
button (See [How to] Format code in posts for more details).
You are using the variable early
in your conditions, but it doesn’t seem to be declared and initialized anywhere in your screenshot. You do have a registeredEarly
variable, so perhaps you intended to use this variable in your conditions instead of the non-existent early
.
thank you, this worked!