If / else Statement



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;

// Complete the condition in the ()s on line 4
if (speed > 80) {
	// Use console.log() to print "Slow down"
	console.log("Slow down");
	// Use console.log() to print "Drive safe"
    console.log("Drive save");


you're printing "drive save" not "safe"


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