Learn HTML by Building a Cat Photo App - Step 14

so once again ive tried eveything and i’m still lost on how to get through this, from my code you can see where i think the “_blank” tag should go, but it’s wrong and idk

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com"_blank> 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.">

Your browser information:

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

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

Link to the challenge:

Add a target attribute with the value _blank to the anchor (a ) element’s opening tag

You should be adding an attribute, using the syntax `attribute=“value”. You have added the attribute value but not the attribute name. You can add multiple attributes to the same element by separating them with a space.

am i doing it on a new line or after “<a href=”
from what i understood, i did this “<p>See more <a href="https://freecatphotoapp.com"> cat photos attribute = "_blank"</a> in our gallery.</p>” and it’s not correct and it doesnt even look correct

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You shouldnt use the actual word attribute. Look at at the directions what does it say is the attribute you should use?

Also your attribute and blank need to go here. It would got after the href

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