Query trouble


#1

guys, any help please? I am getting error...not sure why

var (speed > 80);

// Complete the condition in the ()s on line 4
if (speed ) {
console.log("Slow down");
}
else {
console.log("Drive safe");
}


#2

you need to create a variable speed:

var speed = 90;

and then in the if statement compare the speed:

if (speed > 80)

you compared the value speed while creating the variable, you can't do that