Tell us what’s happening:
Describe your issue in detail here.
im having issues in step 12
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p> see more cat photos in gallery</>
<p><a href='https://freecatphotoapp.com'>see more photos in the gallery</a></p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<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/112.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
You should not have added a new paragraph element. The only thing you should do in this challenge is add the anchor tag around the words “cat photos” in the original text that the challenge gives you. So you need to get rid of the new text you added, and then you have to adjust where the ending anchor tag goes so that only “cat photos” is linked
please can you help type so i can understand
I cant give you the answer, but I will see if I can make it make more sense.
This is your current code
<p> see more cat photos in gallery</>
<p><a href='https://freecatphotoapp.com'>see more photos in the gallery</a></p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
You need to get rid of the first line, its incorrect and invalid.
This line here
<p><a href='https://freecatphotoapp.com'>see more photos in the gallery</a></p>
You only want to put the anchor tag (or link) around the words “cat photos” in this sentence. So your beginning anchor tag <a href="link example>
needs to start before the word “cat”
After you do that, you need to add the closing tag for your link. I wont tell you where that goes, that is something for you to figure out. However, just remember the only things you want between the tags is “cat photos” if the tag starts before “cat” then it should be easy to figure out where it needs to end
thats the same thing im doing
Can you show your new code. Use the format button that looks like </> and paste your new code between the lines it gives you