My src attribute is there, but when I run the tests, it says I don't have the src attribute

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

  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14150.57.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.97 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

i run this code , you are not following instruction of fcc . according to them your img should inside the main and above p tags and then copy that src address and paste exactly same at that. then test will pass

as instructed you should set the src attribute so that it points to the url
https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

  • next time try to full read the instructions very well.

6 posts were split to a new topic: Help fix my src attribute

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