Wont allow me to continue


#1


https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/6?curriculum_id=506324b3a7dffd00020bf661#


I'm trying to get through this lesson on asking for feedback through creating a variable feedback and asking for the rating 1-10. After typing out the following if/else statement I continue to receive the error

" Oops try again, it looks like your didn't print the less than or equal to 8 message"

        **Instructions         **

** Create a variable called feedback and prompt the user to rate your game out of 10.If feedback is greater than 8, print out: "Thank you! We should race at the next concert!"Otherwise, print out:**

"I'll keep practicing coding and racing."

It feels like the instructions and answer are out of sync, am I the only one?


 console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
}

var feedback = prompt("Please rate 1-10") ; 

if 
(feedback > 8)
{
    console.log("Thank you! We should race at the next concert")
}
else 
{
    console.log("Thank you for your feedback, I will keep practicing")
};.


#2

string should be an exact match

also

{
    console.log("Thank you for your feedback, I will keep practicing")
};. // remove . from here maybe typo

#4

Remember to add ; (semicolon)

example:

console.log("Hello World!"); // See there is a semicolon at the end.

and fix this part

{
    console.log("Thank you for your feedback, I will keep practicing")
};. // remove . from here maybe typo
//code from "rcodeman"

I can help more but i need the full code.

Semicolons don't really matter, but it would help for some things.


#5

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