Asking for Feedback


#1


I'm stuck here at coding about feedback?

Error message says there is a SyntaxError: missing before statement, I can't seem to find what it is I'm missing and where? Please help.


var feedback = prompt("Rate the game 1-10");
if (feedback >8) {
    console.log("Thank You! We should race at the next concert!");
}
esle {
    console.log("I'll keep practicing coding and racing.");
}


#2

you have a spelling error.. esle instead of else


#3

ahh so silly a spelling issue....I was looking into the wrong place for a space issue. Thank You!


#4

You're welcome :green_heart:

Happy Learning :slight_smile:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion


#5

This topic was automatically closed after 60 minutes. New replies are no longer allowed.