Java script


// Check if the user is ready to play!

confirm("Ready player one?");
var age = prompt("What's your age?");
if(age < 13)
    console.log = ("You may play, however we assume no responsibilty for the content of our game.")
    console.log = ("Play on peasant!");
console.log = ("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

what wrong with my code

question 3


delete the equal signs here:

because you make a console.log statement like this:



it's twritting me " console.log is not a function"


that is because you make a function like this:

var functionName = function() {


and you are doing almost the same thing here


what am i supposed to do???


take away the equal(=) sign where I said


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