Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening: HELP i messed up big time

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 <a href="cat photos"</a> in our gallery </p>
<a href="https://freecatphotoapp.com"/> cat photos
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> cute orange cat lying on its back.

<!-- User Editable Region -->

    </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/118.0.0.0 Safari/537.36 Edg/118.0.2088.69

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hello @ imreallytrying123,
I recommend that you reset this challenge by clicking the reset button at the bottom of its instructions and HTML, then just wrap the text “cat photos” that is in the paragraph element in an anchor element with an href attribute assigned the url https://freecatphotoapp.com.
In your code that you have shared here, I see that you put the text “cat photos” as the url for the href, but cat photos is not a url. “cat photos” (without the quotes) is the text that will become a link when an open anchor element tag is placed in front of this text with an href attribute assigned a url, and for this challenge the url must be https://freecatphotoapp.com. The anchor element also needs a closing tag after the text that it wraps. So an anchor element would be written like this
<a href="https://freeCodeCamp.org">Visit the freeCodeCamp website</a>
Every HTML tag needs correct syntax with an opening “<” and closing “>”.
Happy Coding!

1 Like

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