Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
hello I am stuck on the href attribute, Im not sure if I am not understanding the second instruction correctly, the error shows I may have a typo or I ignored the href attribute, help?
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p><a href="cat photos"</a> See more cat photos 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46

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

Link to the challenge:

Look at the example the lesson gives you closely

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

This is how you add a link around text in a sentence. This is going to be very similar to the code you need to pass. Your link should go around the text “cat photos” in the sentence provided

1 Like

but is asking me to make “cat photos” a link and also the freecatphotoapp is a link so that differs from the example so that’s what got me confused, sorry I know it’s probably a piece of cake and I am not seeing it, first time trying this.

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

See more cat photos in our gallery.

link to cat pictures

I don’t see where is the mistake, it keeps saying the link should be cat photos, that I might have a typo but this is how it shows in the preview.

Your code is correct ,but you have to wach for white spaces .

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

remove this space … >cat
add white space here more <

1 Like

yes white space modification worked, finally Thank you!!

1 Like