I can do the operations but the “=” button is not working
Can anyone help on this?
You can find my code here at https://codepen.io/ChaosSaveren29/pen/jLrKEr
Little more details would be more helpful. Which line, after any particular event, any other inputs?
your getTotal function uses $(‘steps’) not $(’#steps’) is all.
After adding the ‘#’, it works perfectly fine now, not sure how I could have miss something like that.
Thank you very much for pointing that out.
forgetting a # or . like that can be tricky to notice until you’ve run into it a few times. Ive been stuck on things for an hour or so only to find a missing # myself