Tell us what’s happening:
please help me. it is saying use only one anchor tag
You should only add one opening anchor (
a ) tag. Please remove any extras.
Your code so far
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
<a href ="https:freecatphotoapp.com">.<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/18.104.22.168 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 15
Link to the challenge:
You have two anchor tags.
You never close this anchor element. Your browser is guessing at what it should to do repair this mistake and mangling your code as a result.
please send me the 8th line which achor tag should i remove
I’m not going to write code for you, but the instructions should describe where the anchor element is expected.
Two things to fix here:
1- you need a closing anchor tag
(Make sure you place it where it can make the img turn into a link)
2- you have a stray period (dot) after the anchor opening tag. You should delete that.
after removing the dot
it is saying the same
Did you fix that part yet?
<a href ="https:freecatphotoapp.com"/> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back"/>
still the same result
That would be because you still have not added a closing anchor tag
Just in case you don’t know what we mean. The closing tag looks like this
where should i end that one i tried it multiple times
- after <a href =“https:freecatphotoapp.com”/a> i tried here
- before alt=“A cute orange cat lying on its back”/> also i tried
You must not break the syntax of the opening anchor tag or the img element. The closing anchor tag goes after the thing you want to turn into a link:
suggest me a course without coding
I would add a closing anchor tag
Turn the image into a link by surrounding it with necessary element tags
What part of these things that you have been told do you have questions about?
Do you know what an HTML tag is?
Do you know what a closing tag is?
Do you know what you need to turn into a link?
Do you know hat I mean when I say ‘after’?
because of the hint i got more confused, it says i have added more than one tag so i keep deleting '>'closing tags .
i watched a youtube video and completed this round.
i am suggesting you please add a video before every round
that 4 line explanation is not enough for beginners
If you want to type along as you watch someone solve the Steps, there are lots of YouTube videos already for that.
> is not a closing tag.
ok i agree with you.
in section 16 it is about a section i don’t know what’s a section is before going into practice session.
if u provide a small introduction 30 seconds video like "what is a session in HTML " it will be more helpful for beginners like me
We aren’t going to upload walkthrough videos.