The programs says i need to add an 'alt attribute' even though i have one already. Am i missing something?


#1


https://www.codecademy.com/courses/learn-html-css/lessons/common-elements/exercises/img-alt


"Did you add the alt attribute?"


<!DOCTYPE html>
<html>
<head>
  <title>Animals Around the World</title>
</head>
<body>
  <h1>
    The Brown Bear
  </h1>
  <p>
    The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.
  </p>
  <a href="https://en.wikipedia.org/wiki/Brown_bear">Learn More</a>
  
  <p>
     The following are subspecies of bears:
  </p>
  <ul>
    <li>Arctos</li>
    <li>Collarus</li>
    <li>Horribilis</li>
    <li>Nelsoni (extinct)</li>
  </ul>
  <p>
    The Following countries have the largest populations of brown bears:
  </p>
  <ol>
    <li>Russia</li>
    <li> United States</li>
    <li>Canada</li>
  </ol>
  <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg"/>
 <img src="#" alt="A Brown Bear"/>

</body> 
</html>


#2

You need to add it to your existing image and not a new image


#3

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