@Nam-Hai
Posted
GREAT GREAT WORK. Everything works as intended. Nothing much to add.
Well you did kind of cheated for the reset button tho. It refresh the page and thus refresh the count, but I think the point was to make it refresh in the javascript
@ErayBarslan
Posted
@BlueTompon Thank you! Hahah yes that's kind of cheating but if it works it works :P Well that wasn't the approach I took at first. But since I used "keyup" on eventListener for warning; when typed "0" and clicked reset, It would still run if (get === 0) statement thus orange outline on focus until keyup. Small error but bothered to have it. Maybe I should run the statement by reading innerText of input instead eventListener. Will try to fix another time.