I have coded as it was told but the results are showing me that I have to add the src attribute to the code. Please tell my mistake

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing cat.jpg"
alt="A Cat Stretching.">

<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 (Linux; Android 9; SAMSUNG SM-J701F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/15.0 Chrome/90.0.4430.210 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

@panesarishwinder ,

Please check the URL, There is a small typo in your image URL.

Hope it helps

1 Like

Also, you shouldn’t split up your img element over two lines.

Please tell in a abit detail. I am completely new to coding.

Thanks. But where? I am completely new.

I’m not sure how to add much more detail to ‘put the tag all one one line instead of two’.

With the url, it is easiest to copy-paste the required url.

I am unable paste the URL.

Ok, that is very strange. You may want to learn how to use ctrl-c and ctrl-v. They are really useful for programmers.

Anywho… lets manually compare then
https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing cat.jpg

The required url is on top and yours is on the bottom. There is a single character difference.

Ohh those nasty ---------s got me on the first go around also.

1 Like

Hello @panesarishwinder, in case you haven’t see this yet.

If you are using a mobile device, the default keyboard does not always play well with the freeCodeCamp editor. I recommend you read the article on using a mobile device to view some tips - most importantly, check out the coding keyboards listed as they interface with the editor well.

1 Like

Thank you very much. I am using a phone for this.

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