3. Indtroduction if Functions in JS


#1

Any idea why I cant continue anyone?


https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/0/1?curriculum_id=506324b3a7dffd00020bf661#

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.


var speed = 65;

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


#2

console.log("Drive save");

It should be safe not save


#3

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