Code your own adventure


#1

Check if the user is ready to play!
confirm("i understood confirm!");
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("play on");
}
console.log("you are at a justin bieber concert", "and you hear this lyric "'"Lace my shoes off,start racing.'");

i m stuck in thjs last line how to make the intro as a string plz help ,plz tell me how write it in quotes...


#2

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


#3

Use only two quotation marks at the beginning and end, " words in here " and make sure it is an exact match to the string in the example. :slight_smile:


#4

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