Can seem to find the problem, but im getting better slowly


#1

console.log ("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
}
var feedback = prompt("Rate this game out of 10 please")
if (feedback is < 8)
{
console.log ("Thank you! We should race at the next concert!")
}

This is the error message I keep getting : SyntaxError: Expected ')'


Replace this line with your code.


#2

feedback = prompt("Rate this game out of 10 please")
if (feedback is < 8)
{
console.log ("Thank you! We should race at the next concert!")
}
else
{
console.log ("I'll keep practicing coding and racing.")
}

Sorry this is all of it I forgot to add some


#3

Here is your problem :

if (feedback is < 8)

The is is not supposed to be there.
Also, I would switch around those console log statements.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.