Problem with #6 - "Did you declare a variable called feedback?" error


#1

Hi! I have been getting this error for quite some time now: "Did you declare a variable called feedback?"

Here is my code below, what am I doing wrong?

var Feedback = prompt("Rate the game out of 10!")
if (Feedback > 8) // If users feedback is greater than 8
{
console.log("Thank you! We should race at the next concert!") // If feeback is > 8, then it will state this statement.
}
else
{
console.log("I'll keep practicing coding and racing.")
}

**My functions work and give me the proper outputs, but after the program runs, it always gives me the "Did you declare a variable called feedback?" error.

Any help would be great, thank you.


#2

I believe it is expecting a variable called feedback instead of Feedback. Try removing the capitol letter from it.