Lexis
1
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 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 (Linux; Android 11; SM-A226B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Challenge: Step 13
Link to the challenge:
koomy
2
The task asked you to add a second attribute .
remember every element can have attributes like :
class=“”
id=“”
href=“”
target=“”
and so on.
and every attribute has a value written inside the “” like this:
value dark for class attribute will become: class="dark"
now you can add multi attributes like this
<a href="https//google.com" class="nav-link" target="_blank"> </a>
NOTE : Target attribute makes your link opens in new tab in case you dont want the user to leave your website when he clicks on particular link
koomy
4
First click on Restart Step so you delete what you wrote wrong and it doesnt confuse you
then add a second attribute target
with the value of _blank
i just explained how to add multi attributes and what is attribute and value.
if still not working please show me your new code so i know what you did wrong
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.