I really don’t get it, I did what it asked me for. Am i really dumb here or is it the software? Please help, anyone.
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 <a
href="https://freecatphotoapp.com">cat photos</a>in our gallery.</p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com">link to cat pictures</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>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Please place the code all on one line instead of two as you have now.
Also make sure there is a space after the anchor closing tag to maintain proper spacing in the sentence. Use the preview pane to see that the line looks as it did before.
hey there, I have tried what you have said and I was given this message, " Sorry, your code does not pass. Keep trying.
After nesting the anchor (a) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element."
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.
Please click the reset button to restore the original spaces and then add your tags around the words cat photos without adding any extra spaces inside the text.
(The anchor tag should have exactly one space in the text, while the paragraph spacing should remain as given to you. So reset button will probably be easier than us telling you what to fix)
Copy the original text and tightly wrap the part of the text that needs to be linked with the ‘a’ element. When writing HTML, you should maintain a good style, such as indentation. This will make your code structure look clearer.