STEP 14 CATPHOTO APP

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

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
     <p>
          See more
         <target="_blank" <a href= "https://freecatphotoapp.com">
         cat photos</a> </_blank>in our gallery.
    </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>

It’s helpful if you can provide a direct link to the challenge when you’re asking for help. The easiest way to do this is to click on the Help icon, which appears after you have submitted incorrect code three times. This will create a forum post which includes your full code, a direct link to the challenge and an opportunity for you to explain what you’re having difficulty with.

I have edited your code so that it displays correctly on the forum. When posting code you should use the Preformatted Text tool (</> icon or CTRL+e), which creates two sets of triple backticks, between which you can post your code.

Your code has become a little jumbled. Here’s an example of proper syntax:

<p>Please visit <a href="example.com">my website</a> for awesome content</p>
  1. The p tags should wrap tightly around the text, with no additional spaces before or after. Correct spacing within the text is also important.
  2. There should be one anchor element which wraps around the text which you’re turning into a link.
  3. The target attribute should be added to the opening anchor tag, next to the href attribute (separated by a space).
  4. There should be no other tags or elements.

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