I need help with Basic HTML and HTML5

I’m working on the coding but I cant figure out what I’m missing.

the link keeps telling me:
“Your image should have a src attribute that points to the kitten image.”

My code so far


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

My browser information:

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

Challenge: Add Images to Your Website

Link to the challenge:

Hi @christophermccrary

Welcome to the forum!

You have a few syntax errors here

This is the correct syntax for img tags.

<img src="url goes here" alt="description goes here">

A little tip: whenever a challenge is not passing always double check for correct syntax first.
That is where looking at the examples they give you will help.

Hope that helps! :grinning:

The IMG goes on the blank lines in the challenge. Yours is below the main closing tag.

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