Having a problem with code

Hi @enigmania, the problem is the stepOver variable which refers to the form with the ID “stepOver” – kind of a shorthand for document.getElementById('stepOver'), which should better be avoided for various reasons – and you can’t divide or multiple a form element, hence you get NaN.

1 Like