1/13 I need help


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.


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!


That worked. Thanks.


No Problemo!!! Glad to Help!