Build a Cat Photo App - Step 15

Tell us what’s happening:

Your anchor (a) element does not have a target attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves <a "_blank" href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>

<!-- 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Cat Photo App - Step 15

Welcome to the forum @lc27229!

It seems you didn´t do anything with your code and you only described the task.

So, how can we help you? What you didn´t understand about the step?

Welcome to the forum @lc27229

The target attribute goes in the second anchor element.

Make sure you include both the attribute name and value.

Happy coding

1 Like

As well as Teller’s advice you have not done the syntax correctly. Look at the example syntax

<a href="https://www.freecodecamp.org" target="_blank">

The white shaded area on screen is where you need to type.

Please reset this step and try again. You have changed the original seed code, which will break the tests.

1 Like

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