<h2>CatPhotoApp</h2>
<main>
<img src:http//bit.ly/fcc-relaxing-cat alt: 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 9; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36.
Please tell us what is wrong. Explain where you are confused or having trouble? What is not working as expected? What are the different ways that you have tried to fix the problem already.
Hello @Fischerdils99,
I understand from your post title what you are having trouble with, but as @ArielLeslie mentioned, please provide more information about how you have tried to solve the problem.
In the lesson, look at how the tag is formed. Remember, the syntax for <img> is <img src=" ">. Yours is different.
Please read my comment more carefully and include all parts of it. You did not use " " inside the tag. The alt attribute also needs =" ". Read the lesson examples carefully and try not to rush.
EDIT: Delete line 5. It is in the wrong place anyway.
Look carefully at your img tag. You have now combined your correct and incorrect tags into a new incorrect one. I suggest resetting the challenge code and starting fresh.
Move line 5 to line 9. The instructions are to put the image after the <main></main> element.
The alt attribute needs to be inside the <img> tag: <img src=" " alt=" ">.
It works after the main element as well, which would be line 8 of the original code. That’s where I put the code because the instructions say to put the image after the main element, which ends on line 7. Lines 3 and 4 are inside the main element, right? I always understood that an element was opened and closed by the two tags < > < />.