3. You are at a Justin Bieber concert (Not working)


#1



confirm ("are you ready to play?");
var age = prompt("What's your age");

if (age < 13) {
console.log("You are allowed to play but i take no responsibility");
}
else {
console.log("Have fun playing! good luck bro!");
}
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

Getting error "TypeError: console.log is not a function"

Any help? Seems to be every part on this course isnt working properly.


#2

Hi try to refresh the page..


#3

Got it thanks, had already tried that a couple of times though. I guess third time lucky.


#4

if you dind't pass the lesson try to change browser...


#5

That suggests that you did something similar to:

console.log = 5;

Which makes it a number, indeed not a function. Refreshing the page has the effect of restarting the interpreter, which gives console.log the value it's supposed to have.