<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


<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/91.0.4472.101 Safari/537.36 Edg/91.0.864.48

Challenge: Add Images to Your Website

Link to the challenge:

Hi @koushik004

Welcome to FCC.
What is your question about this particular challenge?

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

i have made so many tries but not getting how to point to the image

1 Like

What is your current code? I don’t see where you have tried to add in image element in the code you posted.

I’m not sure what the issue is but from what I see in the title, I suppose the error is from a missing forward slash ( / ) at the end of your img tag. Try making your tag look like this:
<img src="your-url" alt="your alt" />

Please actually post your code instead of a picture of your code.

It looks like your alt attribute is malformed:

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

okay thank you let me try and i’ll get back to you

i’ve typed it and checked once and after that i’ve copied from ur solution but it’s still showing :- your image should have a src attribute that points to the kitten image

I didn’t give you a solution. I gave you an example of how the alt attribute should be formed. Please post your current code.

<img 

src="https://www.bit.ly/fcc-relaxing-cat.com/relaxing-cat-image.jpg" alt="a business cat wearing a necktie.">

Your src is not the exact url required: https://www.bit.ly/fcc-relaxing-cat

FWIW, it is best if you provide your full code.


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

<h2>CatPhotoApp</h2>

<main>

<img

src="https://www.bit.ly/fcc-relaxing-cat.com/relaxing-cat-image.jpg" alt="a business cat wearing a necktie.">

  <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>

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

You still did not fix this…

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