Hi I’m sorry I’ve been stuck on this one problem for over an hour, I’ve looked through all the answers to other questions about question 12 and not one of them have helped me understand what is wrong with my code. nothing looks wrong with it to me. please help I’m losing my mind.
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 our gallery. <a href="https://freecatphotoapp.com">cat photos</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/115.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
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.
I would suggest resetting the lesson. What they are asking is that you take the existing text, “See more cat photos in our gallery” and turn “cart photos” into a link. Do not add the words “cat photos” to the end.
thank you, I’ve tried resetting. when I delete the words cat photos it just says The link’s text should be cat photos . You have either omitted the text or have a typo.
Ok, now lets get rid of all those extra spaces and line breaks.
You have an bunch of extra spaces between <p> and “See”, you added an extra space between <a> and “cat”, and you added a bunch of extra spaces after the .