Tell us what’s happening:
CatPhotoApp
Cat Photos
Click here to view more cat photos.
Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<!-- User Editable Region -->
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href ="https://freecatphotoapp.com">cat photos</a>.</p>
<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>
<!-- User Editable Region -->
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 13
Hello.
You missed the text in our gallery
(before the dot)
Greets.
Can you post the code please?
I put
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more
in our gallery <a href ="https://freecatphotoapp.com">cat photos</a>.</p>
<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>
but cannot pass the step
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 (').
1 Like
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more
in our gallery <a href ="https://freecatphotoapp.com">cat photos</a>.</p>
<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>
Oh right thanks you sir Jeremy.
Sorry, your code does not pass. Hang in there.
Do not make any changes to the elements you created in the previous step.
Hi there!
Why you have modified your previous code.?
Hi @eito2307,
The original code for step 13 is
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
The instructions say:
Now that you turned the text cat photos
inside the p
element into a link, you don’t need the second link below the p
element. Delete the entire anchor element below the p
element.
Take particular note of the last sentence “Delete the entire anchor element below the p
element.” which is after the
</p>
Hopefully that makes it clearer.
2 Likes