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

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> <img src="cat.jpg" alt"A cute orange cat laying on its back">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Learn HTML by Building a Cat Photo App - Step 9

Link to the challenge:

hi there,

You didn’t ask any question but since you need help with this step, here are some tips.

1- click the Reset button (which looks like a turning arrow button)
This will return the code back to its initial state and you can start this exercise again.
2- add the alt attribute inside the img element. Do not add another element. Just type the word alt inside the img tag and make sure you have an equal sign immediately after it before you type out the text next to that.

@hbar1st thank you for your response… this is where im at currently

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt= "A cute orange cat laying on its side">

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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

please re-read the exercise.
It asks for a different sentence in the alt than what you have right now.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.