Having an a element alone

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<main>
<p>View more cat photo <a href="..."target="..."</a>
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>
</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-A107F Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.99 Mobile Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

The failing message says
You should only have one a element.

When I delete the first a element from your code the test passes.

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

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