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

<a href=‘https://freecatphotoapp.com’. cat photos.

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

<!-- User Editable Region -->

       
  <p>cat photos <a href="https://freecatphotoapp.com">link to </a>cat pictures</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/119.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

p. See more a. href=“https://freecatphotoapp.com”>cat photos a. in our gallery. p.

@Mila reset your code and do not make any changes where not requested to, as you’ve done in the p element you only need to nest the anchor element. the opening anchor tag should be followed by cat pictures then place the closing anchor tag

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

      <p>cat photos <a href="https://freecatphotoapp.com">link to cat pictures</a></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/119.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Helllo.

The link is wrong! You don´t need remove anything from the original sentence.

I give you an example of use in this step:

Imagine you have a sentence like this: Click here to view Rome
Your code will be: <p>Click here to view Rome</p>

Now you need to turn in a link the word here and you need to set the attibute href to https://romesite.com/
Your code will be: <p>Click <a href="https://romesite.com/">here</a> to view Rome</p>

Review the example and adjust your code.

Greets.

Welcome to the forum

You seem to have changed the text, this will stop the tests from passing.

Here is an article explaining how to link text and images inside nested elements you may find helpful.

Make sure you reset the step to clear your old code.

Happy coding

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