Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

Describe your issue in detail here.

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 cat photos in our gallery.</p>
      <a>href=https://freecatphotoapp.com</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/119.0.0.0 Safari/537.36 Edg/119.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

:balloon:Hello! Welcome to the forum!

Your code is looking great.

Normally, a link will appear on a document when you surround some content with an anchor element. In this case, nothing is supposed to appear differently in the document, because the anchor element isn’t surrounding anything. See the challenge instructions below:

… At this point, the link won’t show up in the preview.

Have a look at the proper syntax for an anchor element on this excellent freecodecamp article

Your code is very close. Good luck with it.

Does this help?
Keep up the good progress!

Happy Coding! :slightly_smiling_face:

Welcome to the community @Dimpho19 !

The anchor is not correct.
It should be similar to the following example.

Example Only

<a href="url provided in instructions">If text is required it goes here. None is required for this step.</a>

I hope this helps you move on in your coding journey.

Happy coding!

1 Like

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