Requires adding an id to a footer, but doesn’t show how. It only shows how to add it to h2.
You just need to add it the same way you’ve added it to the h2 element.
You need to type id=“footer” in the footer tag in the same way as shown in the h2 example.
This is not working.
This is perfectly working, you might be making some mistakes.
The code above is totally correct, you can use ids or classes for the same but ids cannot be repeated. If you want to access the ID thought anchor tag then use the following code.
for classes use [dot] before class name that’s it.