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

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

<!-- User Editable Region -->

      <p>
        See more cat photos in our gallery.
        <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Hello.

The exercise says:

  • In the text of the p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a) tags around those words.

And what you have done is add a link to the text instead of nesting only those two words. So your sentence looks like this:

See more cat photos in our gallery. cat photos

It should look like the following example:

You have this sentence:

We have more ice creams in the store.

  • Turn the more ice creams words into a link to https://freecatphotoapp.com by adding opening and closing anchor (a) tags around those words.

You will have a sentence like this:

We have more ice creams in the store

So the code you would have to write would be:

We have <a href="https://freecatphotoapp.com">more ice creams</a> in the store

Review the example and make adjustments to your code.

And listen to the advice he give you.

Describe the problem in your words. it’s better for everyone.

Grets.

2 Likes

i have done the correction as told still the same thing

Hello.

how did you get the code?

i do not understand what you mean by what code

put here your code to review it

thank you so very much i got it already.

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