JS Introduction


#1

Hello, guys! thank u 4 ur replies be4. I'm in trouble again. what's wrong with it. please
var speed = 65;
if (speed > 80); {
console.log("Slow down");
}
else {
console.log("Drive safe");
}


#2

Guess the problem is the semicolon after the condition here is an explanation about this:


#3

thank u, haxor789 :sweat: :grinning: