anyway, a tag is made of an opening parenthesis <, an element name, then eventual attributes, then a closing parenthesis >
so, for example <h2 id="title">
make sure all your opening tags are like that, you can’t put tags inside each other
then an element closing tag has an opening bracket <, a slash /, the element name, and then a closing bracket >
for example, </h2>
because to be honest, it helped with the <a anchor, then it doesn’t help at all and my code hint switches between name and too many anchors and seems I have to remove the which then moves away from ‘getting there’
Yeah the element name seems to be my issue, which is what I thought the <h 3 > was.
I’m still getting that and if I move the </ a my code has too many and I have to remove it then I’m back at the start. I hoped the h3 would have seperated the href= that I need to change the picture to a link.
**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 target="_blank" <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/102.0.5005.63 Safari/537.36 Edg/102.0.1245.33
That’s what makes this so painfully hilarious, I don’t see how you can make the picture a link using ‘necessary tags’ without editing the href= code, it all comes back to element name, oh well.
Thank you ever so much for your effort and time. I may just look into paid courses, well if I am allowed to that is .
<a <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<a <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
both give this response
hint
You should have an img element with an src value of https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg. You may have accidentally deleted it.
I’ve edited your post for readability. 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 to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Turns out I was having a confusion with wording, I was supposed to use the website address not the link I had created in the first </p> I technically tried to 'hack' the original href link
‘use h`ttps://freecatphotoapp.com’
thanks for your help ilenia.