As I understand the exerscise , turn the words “cat photo” inside the ( p) element into a link using the same value as the ( href) attribute as the link below the ( p) element.
when I click on the “cat photo” it takes me to https:freecatphotoapp.com and in a box it says it works but , in the excersise it says the code does not pass and there should be only one (a) element .
ANY help will be greatly appreciated.
* 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.</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/184.108.40.206 Safari/537.36
Challenge: Step 12
Link to the challenge: