I am having trouble with this code

Tell us what’s happening:
Describe your issue in detail here.
This challenge is giving me trouble. I don’t really know how to solve this puzzle. Can someone please help!

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>



<img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>Kitty Ipsum dolor sit amet, shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
  **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

The code you’ve posted is the starter code. We do not see what you’ve tried.
The lesson gives an example of nesting and continues to break it down, explaining as it goes.
What part are you not understanding / having difficulty with?

I’m am confused when they ask to create a new p element. There should be at least 3 total p tags in your HTML code.

At the start of the lesson there are two p elements.
Let’s get terminology straight
Tags are used to mark up the start and end of an HTML element. The following are paragraph tags.
<p></p>

An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>

At the start of the lesson, the preview panel shows an anchor element (a)

The lesson starts by showing you an anchor element that is nested within a p element.
The lesson then breaks down each part.

You are tasked with replicating what the lesson is explaining. Taking the existing a element and nesting it in a new p element.

Hope that helps.

Ok, thanks for your help!

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