Tell us what’s happening:
Question: Turn the image into a link by surrounding it with necessary element tags.
Use https://freecatphotoapp.com as the anchor’s href attribute value.
I still don’t understand what’s wrong in my code. I have done everything that the question asked. Checked forum and found out that my code is right. But still the system wouldn’t pass the code. Need someone with experience to find this out.
Thank you
**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">
<img src= "https://cdn.freecodecamp.org/curriculum/cat-
photo-app/relaxing-cat.jpg"> </a>
</p>
</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/102.0.0.0 Safari/537.36
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks.
```
Your code goes here
```
You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.
The hint given is :
Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .
I believe I have entered the anchor element correct.