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 "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>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
That’s not right.
You have to do wrap up in the link text cat photos within this line:
<p>Click here to view more cat photos.</p>
You don’t need to remove any text from the line above.
1 Like
so how do i add the anchor (a) nested in it
I begun to answer you in your own topic I believe. Let’s continue there maybe?
I gave some generic example there.
’ Your code should only contain one anchor (a
) element. Remove any extra anchor elements.’
what it keeps saying
You can see the words cat photos
underlined next to the image in the preview now. That’s your link; feel free to give it a click. In the text of your p
element, turn the words cat photos
into a link to https://freecatphotoapp.com
. When you are done, remove the old anchor tag and text below the paragraph
here the test
Again, lets continue discussion in your topic:
Welcome to the forum!
The below is in correct
Part of your task is:
turn the words cat photos into a link to https://freecatphotoapp.com
If I need to wrap up text into a link I’ll do something like:
<a href="URL">some text</a>
Author of this thread may have different questions about the step, we should not create a distraction.
system
Closed
January 12, 2023, 11:58am
#8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.