First Move


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

console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'")
var userAnswer
userAnswer===prompt("Do you want to race Bieber on stage?")

Okay, I see nothing wrong with this. Anyone else? 'cause it runs it, the tells me something is wrong


#2

When initializing a variable that has no value you MUST put a semi-colon " ; ". I would suggest putting semi-colons after most lines with exceptions to any line left with an open bracket " { ".

In short and simple terms do the following.

var userAnswer = prompt ("Do you want to race Bieber on stage?");

This cuts out the extra line that you're using to initialize the variable when you can initialize the variable and set it equal to a value at the same time.

Also delete the first "var userAnswer" or things will start messing up.


#3

'kay thanks! I tried a similar ting to what you did, I just didn't realize the punctuation!


#4

It isn't working, I tried what you did, I even copied and pasted.


#5

Give me a moment, I'm going to do some research.


#6

Oh good lord. It's always the " = " signs that get me.. Ugh take out those three " === " equals signs, and replace them with " = " one equals sign.


#7

lol, you're right! Thank you!