Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
This one is super confusing

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
       <a href="https://freecatphotoapp.com">cat photos</a>
      <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/107.0.0.0 Safari/537.36 Edg/107.0.1418.35

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

Link to the challenge:

Try to reset the code.
Then after that review this post about attributes

Hopefully you can understand what attributes are after this.

im still so confused

Tell us what’s happening:
I’m still having a hard time

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <target>src="https://freecatphotoapp.com">cat photos</a>
      <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/107.0.0.0 Safari/537.36 Edg/107.0.1418.35

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

Link to the challenge:

Please don’t create duplicate topics when you need help. Just use the topic you have already to ask additional questions. I have merged the topics.

I suggest you click the reset button.

After that the code will return back to its original state.

And after that you should add the word target to the anchor’s opening tag.

(Go to the area next to the href attribute and type the word target there)

After that, type an equal sign.
After that type “_blank” next to it

This is how you create an attribute.

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