Bieberrrrrrr


#1

What do I wrong?

confirm("ik wil graag spelen");
var age = prompt("Wat is jou leeftijd?");

if(age < 13)
{
console.log =("Je mag spelen maar ik ben niet verantwoordelijk");
}
else
{
console.log = ("Veel speelplezier!");
}

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


#2

You dont put an = after console.log

console.log("Je mag spelen maar ik ben niet verantwoordelijk");
console.log("Veel speelplezier!");
console.log ("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");


#3

thank you for helping.

if i do that i get this message:

TypeError: console.log is not a function. (In 'console.log("Veel speelplezier!")', 'console.log' is "You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")


#4

Try refreshing the page with f5 and try to continue
if that doesn't work here's mine to compare with yours, but it is in english.


confirm ("I am ready to play");

var age = prompt ("What's your age");

if ( age > 13 )
{
console.log("You can play but we take no responsibility")
}

else
{
console.log("Play on!")
}

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


#5

Yes it worked! thank you
i did refreshed the page, then it worked


#6

hey, got the same problem:

confirm("I am ready to play!");
var age = prompt("What's your age?");
if ( age < 13 )
{
console.log("You can play at your own risk");
}

else
{
console.log("Yay! Let's play!");
}

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

I refreshed the page already but that didn't work.


#7

this worked by me:

confirm("ik wil graag spelen");
var age = prompt("Wat is jou leeftijd?");

if(age < 13)
{
console.log =("Je mag spelen maar ik ben niet verantwoordelijk");
}
else
{
console.log = ("Veel speelplezier!");
}

it isnt in english, but now you can see where you wrong