+ 1

How to make delete button in calculater program

14th Aug 2021, 10:43 AM
Kaushal Rajput
2 Réponses
+ 2
JS: document.querySelector('.input_element').value="";
20th Aug 2021, 2:03 AM
Sancho Godinho
Sancho Godinho - avatar
+ 2
Delete button should remove the last character from string or pop character from a list (assuming that string or list contains the result or group of operands and numbers that you display on the screen) .
14th Aug 2021, 11:20 AM
Abhay
Abhay - avatar