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 cat photos.</p>
<a href="https://freecatphotoapp.com"></a>
<a href='cat photos'>
<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/102.0.5005.115 Safari/537.36
Challenge: Step 11
Link to the challenge:
NirajN
June 20, 2022, 4:34pm
2
Hi, please read the challenge instructions again.
i have
but still getting the issues
NirajN
June 20, 2022, 4:38pm
4
Did you understand the example shown in the instructions?
yes as i want ment to add the following
<a href="cat photos"></a>
NirajN
June 20, 2022, 4:42pm
6
Ok, so think about the href
attribute. Why do we use that with a
tag?
ok the href is used for adding another pic right if i get this wrong ill have to go back on to w3 school and have a look over this
NirajN
June 20, 2022, 4:45pm
8
No. href
is the link that the a
will go to when you click on the tag. So if you put a link in it then it will open the link when clicked.
okay thanks ill add a link in and see where i go from there
<a href="https://freecatphotoapp.com"></a>
<a href="https://www.pexels.com/search/cat/">cat photos</a>
still having trouble with this cant see where i am wrong
done it had it in the wrong place omg its always the simple things that ppl miss LOL
NirajN
June 20, 2022, 5:25pm
12
Amazing, good luck in the upcoming challenges
ilenia
June 20, 2022, 5:36pm
13
I’ve edited your post 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 (’).
system
Closed
December 20, 2022, 5:37am
14
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.