Please Help - #Footer

I have been re-arranging every which way coding for the footer and I am so stuck. Any advice would be much appreciated, thank you in advance for your time.

My assignment is:

Change your external link to an internal link by changing the href attribute to “#footer” and the text from “cat photos” to “Jump to Bottom”.
Remove the target="_blank" attribute from the anchor tag since this causes the linked document to open in a new window tab.
Then add an id attribute with a value of “footer” to the element at the bottom of the page.

My code reads:

Jump To Bottom

The program says my faults are:

  1. There should only be one “footer” tag on the page.
  2. The a tag should have href attribute set to #footer
  3. The footer tag should have an id attribute set to “footer”

You need to format your code in the editor. It’s just rendering as text now.

<a href = " # footer " http:// free cat photo app.com" > Jump To Bottom

< h2 id = " < / footer > " </> h2

<>a href="#footer"Jump To Bottom <>/a
.
.
.
<>footer id=“footer” <>/footer

1 Like

You can use HTML entities to write without triggering pre-processing on the forum.
If you type:

<a href="#footer">Jump to bottom</a>

We will see:

Which is not quite useful. To circumvent that you can:

  1. Use escaped “less than” and “greater than” symbols.
    Example:
    \<a href=""\>This is quite safe and won’t get interpreted by the forum\</a\>
    I didn’t use escaped characters here
    <a> I used escaped characters here</a>
  2. Use HTML entities.
    Example:
    &lt;a href=""&gt;I use this to write mathematical contents a lot&lt;/a&gt;
    <a href=""> I used HTML entities here</a>
  3. Use the preformatted text button (Best option for the forums).
    You can use this shortcut (Ctrl + Shift + C)
    ```html
    <a href=""> don’t forget to specify the language (CSS, HTML or JavaScript) </a>
    ```
<a href=""> don't forget to specify the language (CSS, HTML or JavaScript) </a>