<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
<img src= "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat alt ="a cute orange cat lying on its back ".jpg">
<!-- User Editable Region -->
</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/122.0.0.0 Safari/537.36
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Hello @blesskiddo !
You have two issues to look at.
Firstly, your alt text. You should have the text as it is in the instructions. Adding or deleting any letter, word, or space might cause the lesson not to pass.
secondly, each of the values in the image href and alt should be nested in quotation marks,individual quotation marks. Also, do not delete or add anything in the image link. Use the link as it is in the instructions.
There is problem in the image tag . in image tag there is space before the src and the alt attribute format is wrong. the correct version is below:
Mod edit: removed solution
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
For the attributes (src and alt) make sure you’re not putting a space after the equal sign. Also, you seem to have stuck your alt attribute in the middle of your image URL instead of after.