Learn HTML by Building a Cat Photo App - Step 12

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> <a href="https://freecatphotoapp.com"</a> </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/115.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

Welcome to the community!

Here is a good article, including examples, on how to turn text and images into links.

Happy coding! :slight_smile:

1 Like

i did all of that and its still not working

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

this is right but its not letting me move to the next step

Please post your updated code for the community to see?

The above article provides excellent instruction and examples. The author has done a great job.

We can assist you better by seeing your updated code.

Thanks!

Happy coding! :slight_smile:

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

Looks close!

Your first ‘a’ tag is missing the ‘>’ right before you closed it with ‘/a’ tag.

I would copy your second link (or ‘a’ tag) and paste that in between the ‘p’ tags . Remove the first link (‘a’ tag) before you paste. Then remove the second link after you paste.

Looking good!

1 Like

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

2 Likes

thats my updated code

1 Like

Thank you very much . It worked

2 Likes

Mod edit: removed code

@muaazmadni

Please dont try to give code for the challenges

Thanks

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