Tell us what’s happening:
Describe your issue in detail here.
i am stuck at this point
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<a href="https://freecatphotoapp.com"<p> cat photos.</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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
Just convert “cat photos” into link by anchor tag.
Describe your problem in detail.
i am trying to but i have failed pliz just tell me what to type
the challenge is i am failing to go beyond this point of creating a link using cat photos, i am not sure if it is a typo or what
hbar1st
December 15, 2022, 5:00pm
6
Please click the reset button which looks like an arrow turning to restore the code back to the start because you deleted some parts that you need.
After that look at the preview pane.
Do you see the plain text
Click here to view more cat photos.
They want you to make the last two words into a link. Do not delete anything just add code.
i mean which code should i add
hbar1st
December 15, 2022, 5:02pm
9
Do you mean what value should the href attribute be set to?
It is mentioned in the exercise.
hbar1st
December 15, 2022, 5:03pm
10
To make the last two words into a clickable link, you need to use the anchor tag you learned about in step 10 and 11.
how do i do that i am totally confused please help
hbar1st
December 15, 2022, 5:06pm
12
Just go back to step 10 and review how.
becoz it says ’ href
value should be https://freecatphotoapp.com
. You have either omitted the href
value or have a typo.’ whenever i try
hbar1st
December 15, 2022, 5:10pm
14
Please show me what you have tried.
hbar1st
December 15, 2022, 5:12pm
17
You have to copy the code here if you want us to see it
<p>Click here to view more <a=>cat photos</a>.</p>
hbar1st
December 15, 2022, 5:14pm
19
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 15, 2022, 5:15pm
20
freakyfroky:
cat photos</a>
This part here is correct however your opening tag is not correct.
It is missing the href attribute and the value of the URL (the website link)