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 "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>
I don’t know how else to put the target blank element! tnx
Challenge: Step 13
Link to the challenge:
target is the attribute and _blank is the value.
Like in href=“https://freecatphotoapp.com ” href is the attribute and https://freecatphotoapp.com is the value.
hope this helps
2 Likes
Attributes have the format like:
<element attribute="value">
The href in your code is a good example, “href” is the attribute and the url is the value. You need to do the same thing where “target” is the attribute and “_blank” is the value.
1 Like
tnx a lot, I have scaled through
tnx a lot, I just scaled through
system
Closed
December 2, 2022, 2:17am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.