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>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <a href="https://freecatphotoapp.com">cat photos</a>
    <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

hi, you were told to make the cat photo text to a link by adding the anchor tag. You didn’t add the anchor to the p tag (cat photos) but added a new line of code and made it a link. try resetting and try again.

1 Like

hi Joshua, thanks for your response.

<p>Click here to view more cat photos.</p>
    <a href="https://freecatphotoapp.com">cat photos</a>

this is my code and am supposed to turn the words cat photos into a link to https://freecatphotoapp.com . when done i should remive the old anchor tag and text below . someone assist please

Click here to view more cat photos.

cat photos please joshua kindly help here. am getting errors each time i try solving this.

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 (').

Your code probably is doing this now:

Click here to view more cat photos.
cat photos

But they want it to look like this instead:

Click here to view more cat photos.

Hi there, am stuck between those two lines of code. please help

It sure if you saw my response.

Maybe it would be best to just restart the step and try again but this time only make the words cat photos into a link (don’t add any more text, just turn the text given to you into a link)