Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I am stuck at level 12
Adding href attribute to https://freecatphotoapp.com in an element that is already attributed as follows link to cat pictures
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>cat photos</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:109.0) Gecko/20100101 Firefox/117.0

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

Link to the challenge:

Look again at the challenge example, and compare that to what you are trying to do

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

In the example, freeCodeCamp is the text that is turned into a link. For you it would be the words cat photos.

you are missing the href

1 Like

I have tried all tricks, etc

I am not sure what you mean by “tricks” your code is missing the href as shown by the example. Have you added the href?

If you have then show your new code

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

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