Ade01
December 26, 2022, 8:54am
1
Tell us what’s happening:
Hello Everyone… i need help to pass step 12
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos href="https://freecatphotoapp.com"</p>
<a href="https://freecatphotoapp.com">cat photos</a>
<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>
```
hbar1st
December 26, 2022, 9:35am
2
They want you to use your knowledge of anchor elements to turn the last two words here into a link.
The anchor element was discussed in step 10 and 11 so you may need to look back there to learn how to do this.
Ade01
December 26, 2022, 10:45am
3
Hello thank you for the guide. i done tried, i’m still having the same issues, it’s complicated
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p <a href="Click here to view more"> cat photos</a>.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<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>
hbar1st
December 26, 2022, 10:52am
4
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
hbar1st
December 26, 2022, 10:54am
5
the href attribute is incorrect. You should give href a value equal to the URL of the link (check the exercise as they told you what it should be).
I would reset this step and try again.
Ade01
December 26, 2022, 11:05am
6
Hello…
what is a target attribute ?
i’m finding it hard to pass level 14
hbar1st
December 26, 2022, 11:32am
7
Please create a new topic for this. Target attribute is just like href attribute but the value is “_blank”
Mark this topic solved please also.
system
Closed
June 26, 2023, 11:33pm
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.