Turn the words cat photos located inside p element into a link by replacing the words with the anchor element added previously

Tell us what’s happening:
Describe your issue in detail here.
am unable to complete the code above

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
   <a <p>Click here to view more.</p> </a>
    <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/89.0.4389.114 Safari/537.36 Edg/89.0.774.68

Challenge: Step 12

Link to the challenge:

This syntax is malformed.


I would reset the code because you have a bunch of little errors. Once you have the original code, the challenge wants you to replace the text ‘cat photos’ in the original p element with the entire a element just below it.

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