Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
i cant complete the coding its complex
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 <a href="catphotos.com"<a/> in our gallery.</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; rv:107.0) Gecko/20100101 Firefox/107.0

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

Link to the challenge:

You have to identify the text you want to be your link by surrounding it with the a tag.
Then, in the opening a tag you can direct that link through the instruction href="link-address"
It would be something like:

<p>See more <a>cat photos<a/> in our gallery.</p>

to identify the text to be linked and then

Mod edit: solution redacted 

to state the link address

actually i did like you recomended but still the code doesn’t pass. i also restarted the task to see if i omitted the line and rewrote the code as you recomend and yet the code doesn’t pass…i’ve been trying to solve this problem for two days and still didn’t find a solution to it.

can you post your last try?

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like