Inside document.getElementById() we place the ID of the element we want to interact with, like messages  here.

Make sure to pick document followed by . and then getElementById, "messages".