Learn HTML by Building a Cat Photo App - Step 13

Hi guys, already checked out previous forum posts. Stuck on the part where I need to add or something to the cat photo link. Hint says:

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

Can anyone tell me what Iā€™m doing wrong?

  **Your 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">
        <a target="_blank"></a>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.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 13

Link to the challenge:

Welcome to the forum!

It seems like you created the second a element here. Not necessary.

One element can have multiple attributes.

So you need to add target attribute to an already existing a element.

<element attr1="value1" attr2="value2"></element>

Hey Andre,

Thanks a bunch! Will try this out now.

I am Andrey lol. But no worries, it was super fun actually :joy:

Dude that did it!!! Thank you so much!

Edit: Thanks Andrey!!!

1 Like