Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening: Im not understanding what im doing wrong when it comes to the href of the link

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 <a href="cat photos">in our gallery.<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/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

You appear to have created this post without editing the template. Please edit your post to 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!

Welcome to the forum @Enrequea !

For future posts, please include the problem for the community to better assist you?

The below provided example for this step read:

<p>I think freeCodeCamp is great!</p>

before the anchor was added to it to turn freeCodeCamp into a link.

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

Notice how when the anchor has been added, nothing in the p statement has be changed, deleted, nor added.

Only the anchor with its href has been added to touch freeCodeCamp on both sides to create the anchor.

I suggest using this example to turn cat photos into a link in the current p element statement.

Please remember to use the href and the value provided in the instructions in the opening anchor tag?

Happy coding! :sun_with_face:

See more <a href="cat photos"in our gallery.

<a href="https://freecatphotoapp.com"link to cat pictures

above is what I have entered and I am still receiving an error

This is not correct, I would take another look at the example that was provided to you and see what an href is supposed to look like. If you look at the directions again you will see they give you a link to use as the href

1 Like

[quote=“EarthDust, post:6, topic:656273”]
t into
[/quote] Thanks for that I figured it out

1 Like

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