I'm getting the error console not defined can someone help


#1



// Check if the user is ready to play!
confirm("Are you ready to play?");
var age = "ageofperson";
prompt("What's your age");
if
    (age < 13)
{
    console.log("You are allowed to play but I take no responsibility");
}
else
{
    console.log("Play on!");
}
//Introduction
Console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");
Please tell me where am I doing it wrong


#2

Hey @vytlasai

First of all here

We must create a variable named age that will prompt the user for its age. You should merge this all in a line just removing the "age of person" thingy because we don't need it.

Second, make sure to use console.log() function in lowercase letters because it is case sensitive and if there is a capital somewhere, it will not understand that we are calling this function (yeah sometimes computer can be dumb :wink: )!

Hope you're having a good day!


#3

Thank you @miniapple8888