I am new to Coding, need your kind help

I am learning HTML, below is the task which i cannot complete…i have tried the to add the tag as --> <h2 id="footer">footer</h2> what is wrong with this tag

Then add an id attribute with a value of “footer” to the <footer> element at the bottom of the page.

Welcome to the forums! Let’s start by seeing the code you attempted to write out.

We can’t do too much to help with what you’ve provided. From what you’ve given to us I can only assume it’s a syntax error.

Thanks for reply, i was able to figure it out the tag has to be added in the existing one and it will look like:

You can perhaps start with pointing us to the challenge you’re stuck at atm (a link to it); and wrap the code you wrote so far in three back ticks (```).
Your code here
When you edit your post, press “</>” will do the thing for you; all you need to do is paste your code between the back ticks.