Brown Bear image: Code wont run

I am trying to do the first HTML course about the brown bear.

I have followed the instruction and the bear image appears but I am still getting the following error:

“Did you set the img source to the given URL?”

This is my code currently:

<body>
  <h1>The Brown Bear</h1>
  <div id="introduction">
    <h2>About Brown Bears</h2>
    <p>The brown bear (<em>Ursus arctos</em>) is native to parts of northern Eurasia and North America. Its conservation status is currently <strong>Least Concern</strong>.<br /><br /> There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.</p>
    <h3>Species</h3>
    <ul>
      <li>Arctos</li>
      <li>Collarus</li>
      <li>Horribilis</li>
      <li>Nelsoni (extinct)</li>
    </ul>
    <h3>Features</h3>
    <p>Brown bears are not always completely brown. Some can be reddish or yellowish. They have very large, curved claws and huge paws. Male brown bears are often 30% larger than female brown bears. They can range from 5 feet to 9 feet from head to toe.</p>
  </div>
  <div id="habitat">
    <h2>Habitat</h2>
    <h3>Countries with Large Brown Bear Populations</h3>
    <ol>
      <li>Russia</li>
      <li>United States</li>
      <li>Canada</li>
    </ol>
    <h3>Countries with Small Brown Bear Populations</h3>
    <p>Some countries with smaller brown bear populations include Armenia, Belarus, Bulgaria, China, Finland, France, Greece, India, Japan, Nepal, Poland, Romania, Slovenia, Turkmenistan, and Uzbekistan.</p>
  </div>
  <div id="media">
    <h2>Media</h2>
      <image src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" />
  </div>
</body>

Hey @course5110212082,

Welcome to the forums!

You may want to look into what the proper element tag is for an image in HTML :wink:

Hope this helps.

Happy coding!

I think I am confusing myself

<img><image src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg"/><img/>

Does that seem right - does it need an element before ?

The image is still appearing either way.

<img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" />

Should do the trick. This is the proper syntax.

Oh I am a fool - thank you for the help!

1 Like

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