JavaScript Calculator Problem

Hi there,

I am currently busy with my JavaScript calculator and I seem to be having trouble executing the code. For some reason it doesn’t work when I click my buttons.

I was wondering if someone can perhaps help me see what I am missing?

Any help would be appreciated.

You missed the # symbol . Your have written $(“output”).html() instead of $("#output").html() in both getTotal and update function.

Thank you very much, this solved my problem.

U r welcome :slight_smile: