Help wanted - Mozilla Conditionals 2 skill test

Hello. I am trying to figure out how to add a conditional that displays the message for the user to turn the machine on. I have linked below what I have so far:

The assignment link is the following (Conditions 2):

Any help would be greatly appreciated.

To write a conditional, it should be in the format:
do something

Have you been able to solve it?
I had a look at your linked Codepen script; everything is mostly ok… although Codepen wishes you’d keep the JS codes in the “JS” window. :slight_smile:
As it is, your first conditional - if(machineActive) {...} - will return false (which means that whole block of nested if...else if statements won’t execute at all), so what you need is to add a closing else statement which is where the ‘turn-on’ message will be. Easy-peasy.