Need help JS Calculator



I was doing the Javascript Calculator and ran into a problem,

I can do the operations but the “=” button is not working

Can anyone help on this?

You can find my code here at


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.

Good luck


Hi, JashuHB,

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.


You’re welcome.
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