step 14Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<!-- User Editable Region -->
<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; rv:109.0) Gecko/20100101 Firefox/114.0
Challenge: Learn HTML by Building a Cat Photo App - Step 14
To add the target attribute with its value of “_blank” you would just add it the same as any other attribute and value combination.
In the above quote for this lesson, I have hightlighted the href attribute with two stars and the value “url” with one star so you can see how to add the target and its value to the anchor. It is important to leave a space between the new code entry and any other text.
Example:
< element> text < a attribute=“value” other attributes and values and anything else in the code> text < /a> < /closing element>