Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

my issue is step 12 please help

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

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

Link to the challenge:

You are going to need to restart the lesson because you have deleted a lot of the required text that you need. The challenge gives you this text

 <p>See more cat photos in our gallery.</p>

None of this text should be deleted. What you need to do is put an anchor tag around the words “cat photos” and use the href that they give you in the challenge

Here is an example of putting the anchor tag around text

This is some example <a href="link">text</a>

most tags have opening and closing tags, the anchor tag is one of these
<a></a>

to make something into an anchor it must be between these two tags
<a> hello world </a>

by default most browsers will change the colour and underline anchor text

in a paragraph you can surround parts to become anchors
eg.
<p>This is <a>some</a> dummy text.</p>
the word ‘some’ will be an anchor

you can find tag definitions at:

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