Background
----------

I am learning JavaScript using Code Academy and am stuck on one of the tasks they have set. The console they provide give no guidance to what line the error in on. The only help it provides is an error message. 

Question
--------

I'm receiving this error message 

> 
> TypeError: string is not a function
> 
> 
> 

from this block of JavaScript

```
confirm("Are you ready to play?");
var age = prompt("what is your age?");

if(age > 13){
    console.log("You are allowed to play but we hold no responsiblity");
}else{
    console.log("You can play, crack 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 this game out of 10 bitch!");

if (feedback > 7){
    console.log("Thank you! We should race at the next concert!");
}else{

      console.log("Ill keep practicing coding and racing.");
}

```

Any idea where this error is coming from would be great help. 

EDIT
----

After making changes suggested by various users, code is still marked as incorrect and error message still persists.

More info on when script exits

script exits after prompt: 

> 
> "what is your age"?
> 
> 
>