1/13 I need help


#1

I need help, it dont know what is wrong with my code. Here it is.

var speed = 65;
if (speed > 80 ) {console.log("Slow down.");
}
else {
console.log("Drive safe.");
}

I get an error saying that I didnt print the correct string.
Help please.


#2

Hey @showdown you didnt copy the exact thing codecademy wanted you to print in the if statement.

Delete that period after Slow Down

Your Code Error Part:

if (speed > 80 )
 {
console.log("Slow down.");
}

Correct Code:
if (speed > 80 )
{
console.log("Slow down");
}

Hope it helped if it didnt please reply saying so!


#3

That worked. Thanks.


#4

No Problemo!!!!! Glad to Help!