Introduction #1


#1


Replace this line with your code.


#2

I'm not sure what you need help with . all it says is replace this line with your code?


#3

Hey guys, it's Adam here. So I'm stuck in the introduction (pretty embarrassing). And I just don't know what I'm doing wrong.

Here is my code:

var speed = 65;

if (speed > 80)
{
console.log( "Good Job.");
}
else
{
console.log( "Slow down.");
}
And here is what it gives me because apparently I'm doing something wrong.

Oops, try again. It looks like you didn't print the correct string. Check your condition in the if statement, and your console.log statements.

PLZ help!!


#4

it does this a lot. check and make sure all the letters in the string match the same case and punctuation as the instructions. if that doesn't work then ill try and help some more


#5

its easiest if you copy and paste the text from the instructions


#6

Which string is is it wanting logged?

As @kalebmfratello said, check to make sure the strings you are trying to log match the instructions exactly.

Alternatively be sure your if comparator is correct.

if (speed > greater than 80) { .... I suspect this should be less than <


#7

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