6/7 help!


#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 racing.")
}

Someone please tell me where I went wrong.


#2

Hi @eva3221

The problem is in your "if" condition you have to close it after 8, change and test it :

if(feedback>=8)

Hold on :wink:


#3

no still doesn't work :frowning:


#4

So, change ">=" to "<="
Try it and tell me :smile:


#5

aw I got it, in the last line I said ''I'll keep practicing racing'' instead of I'll keep practicing coding and racing' thanks