My p element is already within footer element but it still shows error?

Tell us what’s happening:

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36

Challenge: Step 65

Link to the challenge:

u should attach ur code… so we can see where’s the error

        <a href=" ">
      <p>Visit our website</p></a>

error: Your new p element should be nested within your footer element.


Check the lesson instructions. It isn’t just asking you to put the p element inside the footer. It is also asking you to nest the link inside the p element.

( I feel there should be a different error message for this as it’s a little confusing.)

Hope this helps!

not able to find what can i do now?

Here is the part of the lesson where it asks you to put an anchor element inside the paragraph you have made.

Then, nest an anchor ( a ) element in the p that links to and has the text Visit our website .

Think back to the cat app lessons, this is like step 12 of that project. This lesson wants you to nest the anchor inside the paragraph and have the link be the words ‘Visit our website’.

This is what a paragraph nested anchor with a text link looks like;

<p>Some text <a href="">a link</a></p>

I hope this helps!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.