Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Step 14 states “Add a target attribute with the value _blank to the anchor (a) element’s opening tag, so that the link opens in a new tab.”

I can’t figure out where the target attribute _blank is supposed to go in my code. Please help. I’m confused and their was no example for this step.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href=_blank"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.">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

please reset the code with the reset button
then type the word target next to the word href (but on the left side)
then type an equal sign
then type “_blank”
leave a space between this and the href

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