Is your code block from an existing tutorial?
Your var definitions
var steps = 0; var stepsOn = 0;
As the code block did not have line numbers, explaining where to insert code became problematic.
As a suggestion, highlight your code in the edit window, then click on the < / > code button located between the Quote and Donate button
< / > code
@Robin started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Is your code block from an existing tutorial?
Your var definitions
As the code block did not have line numbers, explaining where to insert code became problematic.
As a suggestion, highlight your code in the edit window, then click on the
< / > code
button located between the Quote and Donate button