ID Attributes to "Footer" element

I am very green with coding, and I am going through the first few lessons. on this lesson: Link to Internal Sections of a Page with Anchor Elements, there is no explanation as to how I add an id attribute with a value of “footer” to the footer element. It is the last step to complete and I can not figure it out.

Like this <footer id="footer"> ... </footer> ?

Yes, but what goes where the … is?

For inpage navigation you need pairs of anchors and sections like:

<a href="#footer">Contact me</a>
<footer id="footer">My contact details</footer>