Src attribute (kitten)

The code isn’t working and it keeps saying ’ Your image should have a src attribute that points to the kitten image.’ Please help

  **My code so far**
<img src="" alt="A business cat wearing a necktie.">
<img src="" alt="A cat relaxing"
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

I’ve edited your post 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 (’).

1 Like

You should only have one image element.

Thank you, it worked

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