Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I can’t seem to locate before and after of an anchor element
I’m just stuck

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

   <a href=see more"https://freecatphotoapp.com">cat photos</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/102.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

this is the anchor element, right? (you need to reset the step to get back the correct anchor element, this one has some issues).
Do you see <a at the beginning? if you write to the left of that, that is before the anchor element.
Do you see </a> at the end? if you write to the right of that you are writing after the anchor element

Thanks a lot, let me give it a try

Tell us what’s happening:

I’m still finding it difficult, how do i go about this

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

     see more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery

<!-- 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/102.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

This is correct, you just need to look out for capitalization :slight_smile:

1 Like

I have merged your two topics, please open only one topic per step

Thanks a lot, I’ve passed that step 12