Tell us what’s happening:
Code is not passing with double or single quotes for the class attribute. Why is this not passing?
Instructions:
Step 79
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.
Your code so far
output.innerHTML = <span class="surplusOrDeficit.toLowerCase()"></span>
;