Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Help guys im just a beginner and im having a problem with line 8 of my code/ Step11. Can someone help me?

Your code so far

Hey, it’ll be nice if you post your actual code instead of a screenshot.

1 Like

Here’s my code sir



Cat Photos

See more cat photos in our gallery.

  <a href="https://freecatphotoapp.com">click here to go to freecatphoto.com</a>

  <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Reset the code so that you get your original paragraph back. Then turn the words ‘cat photos’ from inside the paragraph into a link by surrounding it with a tags. Your a tags have to be inside your paragraph element and surround the words cat photos only whilst the rest of the paragraph goes before/after the a tags. Make sure to put the ‘href’ attribute with the value of the webpage you want to link them to in the opening tag of your a element.
Ex of paragraph with link inside:

<p>This is a paragraph with a<a href="">LINK</a>inside it.</p>

looks like this on the page:

This is a paragraph with a LINK inside it.

If it still doesn't work for you, you should post your code as well as a link to the step by clicking on the help button that appears next to the reset button after unsuccessfully submitting your code a few times. ![Screenshot 2023-08-22 171059|690x359](upload://aNKGgJ9JMLacoSpOHBxuQhFabYc.png) ![Screenshot 2023-08-22 171059|690x359](upload://aNKGgJ9JMLacoSpOHBxuQhFabYc.png)

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