+ 1
Reset button not working
HOW CAN I GET THE RESET BUTTON TO CLEAR EVERYTHING I TYPED ON THE RED BOX WHEN I CLICK IT?? https://code.sololearn.com/W8OBLSvZQ9O2/#html
4 Answers
+ 2
Under the function reset, instead of removeEventListener, do the same thing you were doing previously: Setting the textContent, but this time you use an empty string.
document.getElementById("wr").textContent = "";
+ 1
Thank you bro I'm so happy here at sololearn such positive people đđđđ
+ 1
Monical thank built want to display numbers as much as I click the buttons
+ 1
Thanks it works but I have one question. WHAT DOES THE 'E' doing in the function? https://code.sololearn.com/WvIzm5XoekIz/?ref=app