Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 9

1 Like

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.

2 Likes

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

@isabellarossi593

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.

You’ve got a couple of mistakes in your img tag.

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.