6. Asking for feedback


#1

Everything has worked so far, up until asking for feedback. Help is very much appreciated.

Just the bit of code that appears under the error message:

var feedback = prompt("Rate game, out of 10!");
if (feedback >= 8){
console.log("Thanks, we should race again!.");
}
else {
console.log("You're right, this game is terrible!");
}


#2

You need to print out the exact text given in the instructions.
if its >8 print out "Thank you! We should race at the next concert!"

if its <8 print out "I'll keep practicing coding and racing."


#3

Oh! I thought you could write what you wanted. Solved! Thanks very much :blush:


#4

var feedback = prompt("Rate game, out of 10!");
if (feedback >= 8){
console.log("Thanks, we should race again!.");
}
else {
console.log("You're right, this game is terrible!");
}
Not working in my case it is giving error
SyntaxError: Unterminated template literal


#5


#6

A post was split to a new topic: Need help on exercise 6