Plz help me with session

to create a new p element that should have 3 total p tag in my html
also my a element should nested with p element then my p element should have text view more

  **Your code so far**


<a href="" target="_blank">cat photos</a>
<a href="https://www.freecodecamp,org" target"_blank">...</a>
<img src="" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere 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 (X11; CrOS aarch64 14526.89.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.133 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Currently they want you to have a paragraph with the text

View more cat photos

Were “cat photos” is the link. First thing is that you have two separate <a> elements when you should only have one. Your first one is done right, but it’s not nested in a paragraph.

Take this example.

<p> some text <a href="url"> a link </a> more text </p>

“some text” is part of the paragraph, then we have an anchor with the text “a link”, and finally the rest of the paragraph says “more text”

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