Syntax Error


Lesson 6: Asking for feedback.

I'm not sure why this error message is appearing.

Error: SyntaxError: expected expression, got ')'


Create a variable called feedback and prompt the user to rate your game out of 10.

If feedback is greater than 8, print out: "Thank you! We should race at the next concert!"

Otherwise, print out:
"I'll keep practicing coding and racing."

My Code:

var feedback = prompt("rate this game from 0 out of 10")
if (feedback>8)) {
console.log("Thank you! We should race at the next concert!")

else {
    console.log("I'll keep practicing coding and racing.")



see the error now :slightly_smiling: ?

Also, you need to close your if statement.

if (condition){