Tell us what’s happening:
i have closed the anchor element with “>” the code is still asking me to close the anchor element im so confused
**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 cat photos
</p>
<a href="https://freecatphotoapp.com"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/103.0.5060.66 Safari/537.36 Edg/103.0.1264.44
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge:
Hi @fpele70 ,
You should never modify the code that is above the instructions.
So, please restart the step.
After restarting the step, in the code, there is an a
element that you worked on in the previous steps :
<a target="_blank" href="https://freecatphotoapp.com">cat photos</a>
It has an opening a
tag :
<a target="_blank" href="https://freecatphotoapp.com">
And a closing a
tag :
</a>
In between, there is the text : cat photos
Now, all you need to do is add an a
opening tag before the img
element and a closing a
tag after the img
element . In your code above you don’t have the closing a
tag and your opening a
tag have something wrong at the end of it.
1 Like
Thanks bro. It worked. Wow. Thanks for your help
1 Like
This helped me!! Thank you
1 Like
Arise
August 12, 2022, 12:14am
5
<img href=https://freecatphotoapp.com src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg ” alt=“A cute orange cat lying on its back.”
Please were exactly am i gona place it
Hi @Arise ,
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.
system
Closed
February 12, 2023, 10:02am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.