How to insert an image in the website?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website#:~:text=%3Cimg%20src%3D%22https%3A//www.freecatphotoapp.com/your-image.jpg%22%20alt%3D%22A%20business%20cat%20wearing%20a%20necktie.%22%3E

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @tzemunnassociates !

Welcome to the forum!

I would reset the lesson.

This is the basic structure for an img tag.

<img src="URL GOES HERE" alt="DESCRIPTION OF IMAGE GOES HERE">

The directions want you to create an image tag with a src url and alt description.
Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

You are not supposed to touch anything else in the code.
Just add the one line for the img tag.

Hope that helps!

Thanks for the information

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