Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

let signal = "yellow";
// write logic here

if(signal == "green") {
console.log("Go");
}
else if(signal == "yellow") {
console.log("Wait");
}
else if(signal == "red") {
console.log("Stop");
}
else{
console.log("Error");
}

try this one it will work 100%
3 years ago
LEVEL 4 > LESSON 4 i stuck in this lesson please help me out
3 years ago