HOW CAN I GET THE RESET BUTTON TO CLEAR EVERYTHING I TYPED ON THE RED BOX WHEN I CLICK IT??
4/19/2019 2:31:10 AM
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 = "";
Thank you bro I'm so happy here at sololearn such positive people 👍👍👍😍
Monical thank built want to display numbers as much as I click the buttons
Thanks it works but I have one question. WHAT DOES THE 'E' doing in the function? https://code.sololearn.com/WvIzm5XoekIz/?ref=app
GET THE FREE APP
Learn Playing. Play Learning
Send us a message