Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here.
I’m curious to know what exactly is incorrect in the href value ?

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'>cat photos here </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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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!

There isn’t an href here. Adding changes here is probably confusing the tests.

1 Like

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

Right, so here, you need to add the href to the a element.

  <a href='https://freecatphotoapp.com'>cat photos here </a>

like this? I’m a little confused

<a href=*********

That’s not the part of your code I highlighted. The step wants you to make changes in your new a element.

okay thank you Jeremy

1 Like

Please keep asking questions if you are still stuck!

I just don’t get it I’m adding the <a> tags around the words “cat photos” in the <p> element

Right, but did you add the href attribute to the a tag inside of the p element?

2 Likes

I figured it out !!!

1 Like