Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
still stuck in step 12

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos here 
        <a href="https://freecatphotoapp.com">cat photos</a> </p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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

Link to the challenge:

Go throught you code again, and look if you can see your issue,
Hint,
you have to target “cat photos” as you link inside a paragraph {see more (link) in our gallery.}

ive tried a lot but it kept telling me my codes do not pass

No problem, here is the answer to your question.

(your code)

<p>See more cat photos here 
        <a href="https://freecatphotoapp.com">cat photos</a> </p>

(updated code)

<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

see if you can spot the issue,
you can copy and paste the updated code to resolve your issue
hope it helps!

my head is banging already

I finally got it. thanks

No issues it can be like that sometimes :smiling_face_with_tear:

Here you are being asked to just target the words cat photos in a paragraoh.
lets take it step by step,

  1. Your paragraph is,

See more cat photos in our gallery.

  1. Now to make a link of the words cat photos, we will use a (link) attribute around the words cat photos,
    example:

See more cat photos in our gallery.

(full for of the link attribute your text)

  1. And the answer would come out to

    See more cat photos in our gallery.

thank you for the explanation

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