Learn HTML by Building a Cat Photo App - Step 13

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

I need some help on this one. ive tried several different combinations and cant figure it out

thanks for any help or knowledge new to coding

  **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">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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36

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

Link to the challenge:

Recall that the code you have so far is an anchor tag which turns the word “cat photos” into a link.
Notice how the anchor tag contains an href attribute?
Now you are being asked to add another attribute to the anchor tag.
This time, the new attribute is called: target
And notice how the href attribute has a value of a url inside double quotes?
The new target attribute will be similar in that it will also equal some value (_blank) which you will place in double quotes to assign it to the target attribute.

Therefore, the final result should be very similar to this sample code:

<a href="www.something" target="_blank">The Link Text</a>

Hope this helps

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