How to reset values in calculator project after clicking "="

Could someone explain to me how to reset the calculator’s value after I press the “=” button? I know how to set it to 0 when pressing C, however the issue is that after I click = and continue pressing new numbers or the decimal, it doesn’t reset the actual display but continues to add the numbers on at the end.

Edit: The link to my codepen is:

Need to see code :slight_smile:

Never mind, I got it working in the end.