13/15 Which spacing is incorrect?


#1

The instructions tell me that one part of my code is incorrect but I'm not sure which one. How do I fix the indentation that matches the style standards that the W3C recommends?


<!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" target="_blank">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<br/> of brown bears:</p>
  <ol>
    <li>Russia</li>
    <li>United States</li>
    <li>Canada</li>
  </ol>
  
  <a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">
    <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt="A brown bear"/></a>
</body> 
</html>.


#2

What error are you getting ?

What makes you think its a spacing ?

I glanced through your code, I can't seem to find anything wrong.


#3

Instructions: Take a look at the code in the code editor. Most of it is indented correctly, but there is one section that is not indented correctly. Fix the indentation to match the style standards that the W3C recommends.

If the code is correct then I'm fine. I was just wondering if there was something I missed.


#4

Indention doesn't make a difference to the code itself and its output...
Its there readability purposes, it makes it easy to see whats nested in what and so on..

I'm not too familiar with this section, if the course is asking you to indent your indention looks good, are you getting an error?


#5

Indentation is not a W3C concern, but one of style recommendations of the coding community.


#6

Thank you guy, that really helps! :slight_smile:


#7

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