Image to html hhgf

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img
src="A relaxed kitten.kitten.img" 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>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.0.0; SM-G930S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hello and welcome to the freeCodeCamp community~!

This is not the url the instructions ask you to use for the src attribute. :slight_smile:

I used the url and it wasn’t working

This URL?

https://bit.ly/fcc-relaxing-cat

Yes… it’s saying image should have src attribute that points to a kitten image

Can you share the code that you have now? With the correct URL?

Ah, that URL is malformed. However, it also looks like you are coding on a mobile device.

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.

Thank you sir for your help

1 Like