welcome @XorroaTheTitan , you have posted a picture. What is the issue?
It says I have another opening (a) anchor in my code. I don’t see another one.
anchor elements come in this form: <a>...</a>
. That’s not what you have. Could you also describe the issue in full detail? and post the full code you have tried
1<html>
2 <body>
3<main>
4<h1>CatPhotoApp</h1>
5<h2>Cat Photos</h2>
6<!-- TODO: Add link to cat photos -->
7<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
8<a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a> alt="A cute orange cat lying on its back.">
9 </main>
10 </body>
11</html>
I don’t really know how else I can describe my issue.
Ok, THAT’S not what I wanted to post.
Within the chat box, there is a </>
button, Click it so that the codes will appear, else it will appear not as intended.
1<html>
2 <body>
3 <main>
4 <h1>CatPhotoApp</h1>
5 <h2>Cat Photos</h2>
6 <!-- TODO: Add link to cat photos -->
7 <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
8 <a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a> alt="A cute orange cat lying on its back.">
9 </main>
10 </body>
11</html>
Not really sure how else I can describe my issue.
Your img
is supposed to be within the anchor elements, but see where you have placed the closing anchor tag.
Ok. Lemme see if that works.
Anchor elements use the following format: a>…/a>. You don’t actually have it. Could you also provide a thorough description of the problem? and provide the complete code you’ve tried.
Thanks everyone. Figured it out.
yeah seems to be good. contadorpalabras.org
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.