in the html and html5 basics section im on the <a section but I cant get past it if anyone can help then please do
In the future, if you hit the Get Help -> Ask for help
button, it will include the code you have tried with a link to the challenge.
Since we’re here already, can you please cut and paste your code and provide a link to the challenge?
ok
<.a href="#footer"> Jump to Bottom<.p id="footer" foot></a>
Challenge : https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements
I had to put a dot so it shows the code I wrote
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
I’m not sure how that helps solve the problem. It is improperly formatted and isn’t what you were asked to do anyway.
The instructions say:
Change your external link to an internal link by changing the
href
attribute to"#footer"
and the text fromcat photos
toJump to Bottom
.Remove the
target="_blank"
attribute from the anchor tag since this causes the linked document to open in a new window tab.
They mean this:
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
Change that as described.
The instructions continue:
Then add an
id
attribute with a value offooter
to the<footer>
element at the bottom of the page.
They are referring to this code:
<footer>Copyright Cat Photo App</footer>
Follow those instructions. Do you know how to add an id?
When I do those things, it passes for me.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.