Hi, I tried to enter the code in several ways but I just can’t get it correct.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<a href="https://freecatphotoapp.com">see more cat photos in our gallery </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>
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
ILM
November 6, 2024, 10:22pm
2
you should not add the new text inside the anchor element, but before and after it
So it will be somenting like this ?
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<p> see more </p> <a href="https://freecatphotoapp.com">cat photos</a> <p> in our gallery </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>
Or like this
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<p> see more </p>
<a href="https://freecatphotoapp.com">cat photos</a>
<p> in our gallery </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>
ILM
November 6, 2024, 10:33pm
4
do not add elements, only the text on the same line as the anchor element
Like this?
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
see more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery
<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>
ILM
November 7, 2024, 9:43pm
6
I can’t see your code, but you need an uppercase S in “See”
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 (').
Teller
November 8, 2024, 2:03am
7
Welcome to the forum @dominikey
In addition to the advice from @ILM about capitalisation, the word more
has an extra space after it.
Happy coding