Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.i cant seem to understand why my code cant pass

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>click here to view more<a target="_blank" href"https://freecatphotoapp.com">cat photos</a></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

follow the instructions. Your first a tags should not have anything new in it . It just need the href attribute. So your a tag don’t need the target=“blank” attribute. It should look the same way as your second a tag.

Tell us what’s happening:
Describe your issue in detail here.
cant seem to understand why my code wont pass
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="https://freecatphotoapp.com>."cat photos<a/>.</p> 
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

This is not a valid anchor element.

Compare to the one you wrote on the last Step

thanks for the assistand should i replace my answer with urs?

I didn’t write an answer for you. I showed you an example of a correctly written anchor element that you wrote.

Do you see how your code is different than what you wrote on the last step?

remove href inside the p, make it a new line

click for..........

cat photos

<a href=".............</a>

thanks but it kinds of challenges me can i get an example

If you have more questions, please show your updated code.

there is an example of anchor elements on step 10 and 11 if you would like to review those

ok this time make sure your your are putting everything in the correct order. The quotation mark goes before the >. There should not be a period after the href element. Also don’t just go to the next step and copy what they have. You have to do it yourself. Play attention to your mistakes. For the a tag the / goes before the a . Hopefully, this will help.

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