Build an Envelope Budget App - Step 85

Tell us what’s happening:

I am still getting these errors on Step 85: 1. You should create a span element in your template literal.
2. Your span element should have a class attribute.
3. Your span should have the class attribute set to ${statusClass}.
4. Your span should have ${statusText} as the text content.
I have no idea where I have gone wrong. Thanks for the help.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region
  output.innerHTML = ``;

  output.innerHTML += `<span class="${statusClass}">${statusText}</span>`;

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0

Challenge Information:

Build an Envelope Budget App - Step 85

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-envelope-budget-app/69b2c970cb02ddaafff1c132.md at main · freeCodeCamp/freeCodeCamp · GitHub

have you tried updating this line?

output.innerHTML += `<span class="${statusClass}">${statusText}</span>`;
```
Still getting this: 1. You should create a span element in your template literal.
2. Your span element should have a class attribute.
3. Your span should have the class attribute set to ${statusClass}.
4. Your span should have ${statusText} as the text content.

I figured out my error. Thank you!