Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here.
I can not solve this task please help.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a> cat photos><a href="https://freecatphotoapp.com">link to cat pictures</a></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a></p>

<!-- 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.">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!


It looks like you didn’t understand how the anchor element works.
On the opening <a> tag, you add the href="" attribute, to make a reference to a hyperlink, then you put the content which will be displayed on screen, and finally you put the closing </a> tag.
Here, you opened an empty <a> tag, then REOPEN one with this time an href="" attribute and finally close only one </a>.
You need to open your <a> tag with the href="" attribute before the “cat photos” text, and close it with </a> after the car photos text :slight_smile: