Exercise 6 need correctiuon


#1

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

else "otherwise"

{
{
console.log(you can't play);
}
{
console.log(you are not allowed to play);
}
{
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");}
Oops! There was a problem with your syntex.
Where is the problem Pl let me know


#2

confirm("I am ready to play");
var age=prompt("What is your age");
if( age < 13) {
console.log("you can play at your own risk");
} else "otherwise" // delete"otherwise"
{ 
{ // delete 
console.log(you can't play);// you canĀ“t play is a string where are your quotes around it?
} // delete
{ // delete 
console.log(you are not allowed to play); // string think at quotes 
}
{ // delete
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");} // delete }