BEGINNER - coding to me is like cursive to a kindergartener!

don’t understand the use of src or alt by no means, coding to me is like cursive to a kindergartener!

  **Your code so far**<img src="https://www.freecatphotoapp.com/ alt="relaxing-cat.jpg">

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/ alt="relaxing-cat.jpg">
<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/98.0.4758.82 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

You can use the sample that’s given in the lesson as a base for your answer.
The sample shows how to add the img element, how to add the src attribute and set a value for it and how to add the alt attribute and add a value to it.

This is the sample;
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

What you are tasked with is adding the img element and using the URL they tell you to as the value for the src attribute.
You used part of the sample value as the value in your src attribute.

Hope that helps.

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