Your p element should have a nested anchor (a) element with the text cat photos. You may have deleted it or have a typo

Im having a hard time trying to find out what this problem means

Your p element should have a nested anchor (a) element with the text cat photos. You may have deleted it or have a typo

this is my code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more
        <a'href="https://freecatphotoapp.com"target=_'blank'href>
        </a>
        cat photos.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

i dont understand what is wrong here

HI @vapre !

Welcome to the forum!

Your have some errors in your code for the anchor element.
I would reset the lesson and take a look at this article on anchor elements.

The code examples in the article will help you create an anchor element and show you how to nest it correctly in the p tags.

Thank you so much for the help

After i read the article i kept getting it wrong but it turns out i just had to remove the “.” After “Cat photos”

Again, thanks for the help!

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