Hi, this is the prompt
Make the text freeCodeCamp.org
into a link by enclosing it in an anchor (a
) element. The href
attribute should be set to https://www.freecodecamp.org
.
and this is what i put
<footer>
<a href="https://www.freecodecamp.org">freeCodeCamp.org</a>
</footer>
yet it gives me error
Test
Sorry, your code does not pass. Hang in there.
Hint
Your anchor (a
) element should be nested within the footer
element. Make sure to add an opening tag and closing tag for the anchor (a
) element.
any reason why?
I’ve edited your code 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 (').
Also in future please use the ask for help button as it will provide the full formatted code of your lesson and a link to the lesson.
Please can you link to the lesson you are stuck on?