Change the code given below so
that after two presses of the Enter
key, nothing changes on the DOM.
After one press of the Enter
key, the
text inside the div
element
should change to Enter key pressed once!
.
With the second press of the Enter
key, the
text inside the div
element should
become Enter key pressed twice. Listener Removed. After this, nothing will happen!
.