Can some one just tell me where to put the _blank target. This does not make sense to me. I’ve literally put every iteration I can think of. This is so frustrating
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more <a href="cat photos"</a>in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<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/119.0.0.0 Safari/537.36
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Hello hope you’re fine! You didn’t write properly the anchor tag element.
An anchor tag element is written like this <a href="...">...</a> The href attribute just give the link where you will go if you click on. You just have to surround the text cat photos by the anchor and after that the cat photos text will become a link and if an user click on it it will redirect him!
For example in the code above, if the user click on search it will redirect him to google web page! Why? Simply because the link of google page is “www.google.com”.
In short the anchor tag element creates a hyperlink or links within a web page. It defines a clickable link that allows users to navigate to another web page, a specific section within the same page, or even external resources such as documents or images.
Hope i was helpful!!! Don’t be frustrated! Just keep it going! Never give up! Happy coding!