importance: 5

---

# Hide messages with delegation

There's a list of messages with removal buttons `[x]`. Make the buttons work.

Like this:

[iframe src="solution" height=420]

P.S. Should be only one event listener on the container, use event delegation.
