What is the mistake in my coding

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

  **Your code so far**

<img src="http://www.bit.ly/fcc relaxing cat.jpg" alt="a 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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 7.0; Lenovo K33a42) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @Ayesha4 !

There is a space in the link.

Still I can’t solve the problem, where is the space, please describe

Actually there are two spaces. It’s better to always copy and paste the url
use this one

Replace the spaces in your img element with hyphens (alt attribute included). It should look like this: “https://www.bit.ly/fcc-relaxing-cat.jpg” alt=“a-relaxing-cat”

Thank you so much for solving my mistake s.

Hi @Pina-004 !
I am sorry to point out but you don’t need hyphens in alt. Also the link shouldn’t have .jpg in the end.

1 Like

@mrohanrajput Thanks for the correction

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