Help please need SRC?

Tell us what’s happening:
how can I get past this it says i need a src ?

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src ="https : //www.your-image-source.com/your-image.jpg"
alt ="Author standing on beach with two thumbs up.">
 <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>
<img src="https://bit.ly/fcc-relaxing-cat">

Your browser information:

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

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

That test just looks for the first image element & checks that it has a src attribute that matches what is expected. You have two image elements (this is not what you’ve been asked to do), and the src does not match - it isn’t a valid web address (it has random spaces added), and isn’t what is asked for to complete the task. The instructions give you an example of how to define an img element by showing you an example, then they ask you to add an image with a specific src and alt attribute to the code.

1 Like