Adding images please help

Hi. I’m just now starting the basics I can’t figure out how to add this cat image to the website. I’m putting in everything correctly but the “src” and “alt” words come up red. I don’t understand what I’m doing wrong.

It says that I don’t have a src attribute that points to the kitten image


Welcome to the forum!

It would be better to write your code into the forum.
Also, can you post the challenge link?

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 (’).

Also, it looks like you misspelled src.

1 Like

Thanks so much! I figured it out.

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