Trying to fix the image properly

it is saying my image should have a src attribute that points to the kitten image. what is the solution please?

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="http://bit.ly/fcc-relaxing-cat"alt="relaxing cat"/>

<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>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @Omodiah !

You wrote the url incorrectly here.
Edit:
You are missing some characters

Here are the instructions again.
Now set the src attribute so that it points to the url https://www.bit.ly/fcc-relaxing-cat

1 Like

Thanks but I ran the test, still the same complain

Let’s see your new code so we can test it on our ends.

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

this is my new code, but it is still the same complain

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src="http://www.bit.ly/fcc-relaxing-cat"alt="relaxing cat"/>

<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>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

It’s still wrong.

This is what you wrote

and this is the correct one.

It is always best to just copy and paste the links instead of typing it out yourself so you don’t have issues with typos.

When you add that missing character to the url then the test will pass.

1 Like

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