Kylex14
December 13, 2022, 10:41am
1
Hello, I need help fixing this one, I tried my best to learn it and re-read the instruction yet I can’t figure it out. Please help me.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>(a)Click here to view more cat photos.</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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
hbar1st
December 13, 2022, 11:04am
2
Please see the following post to see if it helps
Many people struggle with making an html link for the first time when that link is enclosed within a paragraph element. (Such as in step 12 of the cat photo app).
This post is meant to guide you by giving you some tips of how this is done.
To begin, we are presented with some plain text in a paragraph element such as below:
<p>This is some boring text without any links.</p>
And let us now try to turn the word -links- into a clickable link by using an anchor element.
Here goes:
<p>This is s…
1 Like
Kylex14
December 13, 2022, 11:26am
3
Thanks mate! I just do shutdown this post as earlier I figure it out by putting the word inside where the word say cat photos.
1 Like
hbar1st
December 13, 2022, 11:30am
4
You can mark the question solved by picking a post that helped you and setting the solution option to mark the post as the solution to the question (this tells people that you are done essentially also)
1 Like