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
well its been good but i"m having problems with step twelve

<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.</p>
      <p>click<a href="https://freecatphotoapp.com">here</a>cat photos.</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/112.0.0.0 Safari/537.36 Edg/112.0.1722.58

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

Link to the challenge:

Hello, and welcome to the forum! This challenge does cause some issues, but we will get you through this. So, lets look at the directions again

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

So, the first part of the directions tell you to turn the words cat photos in the p element into a link. So, you should be using the word “cat photos” that were provided with the challenge. You should not be adding the words cat photos. I would reset the lesson, and only add the link around the text that was provided. Be careful to not delete any of the text that is given.

please show me because i still don’t understand

We dont give out full solutions on the forum. Lets take a look at your code again.

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

You see how you added the second sentence? You should not be doing that, but you need to add the link you made in the second sentence and only do that to the first sentence which the challenge provided you with. The link needs to go around the words “cat photos” So you need to start your link before cat and end it after photos. Here is a small example

<p>This is some text that is <a href="link"> surrounded by a link</a></p>

You see how I have a link that is only around the the words “surrounded by a link”? you should be doing the same to the sentence that the challenge gives you. You should not be adding a new sentence

im a begginer still dont get u

Lets start by you telling me what you think needs to be done to pass this challenge? What did you not understand from the bottom example that I gave you, and I can try to make it more clear

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