Dont understand what is wrong


#1

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 {
// Use console.log() to print "Drive safe"
console.log("Drive safe")

}
it tells me:
Oops, try again. Your code doesn't look quite right. Check the Hint if you need help!


#2

Make sure you put a semicolon after every console.log() like so: console.log();


#3

you should add semi colons at the end of console.log();


#4

@quobogeba sorry I posted at the same time as you


#5

It's no problem :slightly_smiling: