I need help to introduction


#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");

}

What is my problem


#2

speed = 80; is a statement.

if (speed === 80)

is a conditional.


#3

Thx that helped really much


#4

i am only 11 years old Lol


#5

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