Tell us what’s happening:
Describe your issue in detail here.
**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 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/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46
Challenge: Step 13
Link to the challenge:
xynoan
2
Look at the href
attribute as a reference, it has quotations and href is the attribute
In this case, you want target
as the attribute.
Also, this is not valid HTML for the opening of the anchor tag. Should be lowercased.
how do i include _blank to the anchor?
xynoan
4
Have you tried something?
yes
Click here to view more cat photos.
this is where i am at but im not understanding what exactly i have to do
xynoan
6
To give you more idea:
<elem
attribute="attributeValue"
>
<elem/>
I put some spaces for readability, but this is still fine.
This is how you add attribute to an element
In this case, you need target
as the attribute and _blank
as the attribute value.
system
Closed
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.