Hide messages with delegation
önem: 5
There’s a list of messages with removal buttons [x]
. Make the buttons work.
Like this:
P.S. Should be only one event listener on the container, use event delegation.
There’s a list of messages with removal buttons [x]
. Make the buttons work.
Like this:
P.S. Should be only one event listener on the container, use event delegation.