Problem solving

Tell us what’s happening:

I can not find the problem in my code do reach me out

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://www.bit.ly/fcc-relaxing-cat.com"
alt="Cat relaxing."/>
</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>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; SM-J710GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile 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

Your code has some errors:

  • Remember that void elements, like meta or img, need no closing “/”.
  • Be aware to close your tags just once for they to work. You have two main closing tags in your answer.
  • Change the image source to https://bit.ly/fcc-relaxing-cat.com without the www.

@Usama_1991 if you look at your code you have 2 closing main tags, which is your problem :+1:

<main></main>
not
</main></main>