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: https://codepen.io/Crimson_Macaw/pen/GwLyBM?editors=1111