I dont get why this doesnt work


#1


2.3

It says "Oops, try again. Make sure your string is correct and is between quotation marks!"


// Check if the user is ready to play!
confirm(" I understand confirm")
var age = prompt("Whats your age?")

if(age < 13) {
    console.log = ("You are allowed to play but im not responsible")
}
else{
    console.log = ("Have fun on your adventure")
}

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


#2

You didn't close. Should put " ; ".
For example

confirm(" I understand confirm");

like this~


#3

You should be calling console.log as a function, not assigning it.

i.e. console.log("Hello") rather than console.log = "Hello"


#4

Hi and remove all the = after the console.log and then refresh the page