Problem with 6, getting "unexpected token {" syntax error


#1

var feedback = prompt ("What would you rate this 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.")
}

I can't seem to find out whats wrong.


#2

I found the error, it was actually a bracket from previous inputs that I didn't copy into this question.