Build a Cat Photo App - Step 12

Tell us what’s happening:

i’m stuck at adding words before and after anchor. This is the answer See more cat photos in our gallery but the keep telling me my code is not correct.

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/136.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 12
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-12

Hello and Welcome, wrap the anchor and text in a paragraph element and try again.

welcome to free coding camp
but u should wrap your words and anchor tag in the paragraph tag then try again

Hii Buddy, Here you need to do 2 changes to pass this test.

First do remove the extra space between your text cat photos and the closing anchor tag </a>.

Second do create some space after your closing anchor tag and the text in our gallery.

When you make these changes then you will get pass this test.

Hope You Understand.

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