Learn Form Validation by Building a Calorie Counter - Step 79

Tell us what’s happening:

No está pasando mi código. No sé en que me estaré equivocando, dejo consigna y mi código para ver si me pueden ayudar.

Your `output.innerHTML` string will need a `span` element. Create that, and give it a `class` attribute set to the `surplusOrDeficit` variable, but lowercased.

Strings have a `.toLowerCase()` method that can help you with this. Do not give your `span` any text yet.
output.innerHTML = `<span class="surplusOrDeficit.toLowerCase()"></span>`;

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 79

Hi!
Inside of template literals (backticks ``) you need to put variable inside of ${}.

Muchas gracias por tu respuesta! Lo probé y tuve que colocar todo dentro del ${}!! Muchas gracias!

 output.innerHTML = `<span class="${surplusOrDeficit.toLowerCase()}"></span>`