just can’t get what i am doing wrong Your code so far
<h2>CatPhotoApp</h2>
<main>
<a href="https://freecatphotoapp.com">cat photos</a href>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8.
Challenge: Link to External Pages with Anchor Elements
< a href="#">cat photos< /a> is the solution. href is used to link contents in a webpage and the closing tag for the same shouldn’t contain the href attribute of anchor tag.
html tags when rendered in browser actually take the actual link form removing the tag and making it a link. It would be really helpful if you could share a screenshot of the code or have space right after u open any tag like < a> and closing it as well < /a>
@kevion779, its great that you know the answer, but just giving people the answer does not help them solve similar problems in the future, such as when they are working on the projects.
Edit: Ehh, I misread and you only put in a partial solution.
@JeremyLT What would you suggest then? when you are starting off something that is basic I think it is vital to get the usual schematical type of errors out of the way for a better learning experience. Once you are into the development phase everyone knows that you are on your own.
I hadn’t finished by first cup of coffee and jumped the gun a bit. My brain saw “solution” and somehow thought that you put the full url in there. My bad.
For a handful of issues I often point them out one by one, but do often include examples like you did.
Protip btw, you can prevent the html from rendering if you use ` around inline code or three ticks like this