Lesson 6. Asking for Feedback - Says I didn't print feedback > 8?


// Check if the user is ready to play!

confirm("Are you ready to play?");

var age = prompt("What is your age?");

if (age <= 13) {
    console.log("You're not old enough to play this game. I take no responsibility!");
else {
    console.log("Game on!");

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");

var userAnswer = prompt("Do you want to race Bieber on stage?");

if (userAnswer === "yes") {
    console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
else {
    console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");

var feedback = prompt("Rate the game between 1-10.");

if (feedback > 8) {
    console.log("Thank you! We should race at the next concert!");
else {
    console.log("I'll keep practicing code and racing.");


Is it me or does this not look like the right code? Why won't it let me continue?


HI your else statement(the last one) should print..

"I'll keep practicing coding and racing."


It specifically wants print rather than console.log ?

I'm really confused here and Codecademy doesn't help with the hint.


SOrry by print I don't mean the comand (but just that you should print that string) ..
and yes you should use console.log()


I have that in my code though. What is missing? I'm really confused.


you wrote

console.log("I'll keep practicing code and racing.");

but it should be

console.log("I'll keep practicing coding and racing.");

the diff is that you wrote code instead of coding


I see. It wants me to write the exact words? That's a little tedious!


yes when the lesson give you(a name of variable, string..) you should use the exact string or name they give you.


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