Introduction to Functions NEED HELP!


#1



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


I need help doing this:
So far I've done

var speed = 65;


if (speed is > 80) {
	
	console.log("Slow Down")
} else {
	
    console.log("Drive Safe")
}

#2

You don't need "is" in the "if" statment:

if (speed > 80) {
...
}

#3

Thank you, worked straight away!


#4

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