Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should

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 <a href="https://freecatphotoapp.com">cat photos.</a></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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 12

Link to the challenge:

You need to make the title short and explain your problem in the description. Hope you can do it next time.

Your code seems to be working fine. Can you reset the challenge and try to write the same code and check. If it still throws an error try disabling any plugin you might have (even the dark theme mode plugin) or try to solve the challenge in incognito mode or different browser. Let me know if it helps.

this is the solution . make sure to remove the 2nd anchor .
Mod edit: solution removed
and the (.) is outside the

2 Likes

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