Html issue. coding beginner


Describe your issue in detail here.

I don’t understand how I am to keep anchor element( p) yet only show anchor element (a)
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 <a =https://freecatphotoapp.com.</p>
    
    <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 6.1; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0

Challenge: Step 12

Link to the challenge:

Hi!
You’re on the right track but it sounds like you’re confused by the lesson instructions. It wants you to turn the words ‘cat photos’ into a link that is inside the paragraph element.

Your anchor tag needs a closing tag and you need to format the link in the way it shows you using a href and and equals sign with the quote marks around the link.

Here’s an example of how to format this. Apply this to your own code.

<p>example text <a href=“example.com”>example link</a></p>

Thank you. Let me try.

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