Stuck on Introduction to JS section1 lesson 1.1


#1

what is wrong with my code? I can't proceed! I've refreshed, reset code. logged out. Nothing is working!
Thanks!
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")
}
else (speed <80)
{
//console.log("Drive safe)
}


#2

Remove the // before your console.log statements. Otherwise, they are invisible to the coding environment. Also, remember that else statements don't take a condition and text strings need quotation marks at both ends.


#3

It worked! Thank you so much!