Hi! I'm having a bit of trouble turning the words "cat photos" into a link on step 12

Hi! I'm having a bit of trouble turning the words "cat photos" into a link on step 12

I resorted to asking for help on the forum since I’m having a bit of trouble figuring out how to solve this. I received a hint saying my code should only contain one anchor (a) element and that I should remove any extra anchor elements. Some feedback would be greatly appreciated, thank you.


      **Your code so far**
      
```html

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a>.</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

2 Likes

This line is good.

But this is extra and should be removed.

2 Likes

you could use this

1 Like

Put the click here to view more cat photos . after the anchor then close the paragraph
Something like this
Mod Edit: SOLUTION REDACTED

2 Likes

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

2 Likes

Thank you very much! I apologize for just now getting back to you I was on another website. I’ll take what you said into consideration :slight_smile:

thank you very much for your insight :slight_smile:

Im stuck to and so confused about all of this people say diffrent things

nv i finally figured it out thanks so much i was stuck for over an hour.

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