Common elements Exercise 11/15

As you will envision the instruction section refuses to green and endow me with a check mark although as you will envision my screenshot/link I formed spaces upon the exercise
https://www.codecademy.com/courses/learn-html-css/lessons/common-elements/exercises/white-space?action=lesson_resume

image

Be sure to leave a space before all attributes.

1 Like

Thank you but as you will envision the line is still not greening

Please post your code again. Thanks.

1 Like

Goodness I misplaced the link but here is the code again

https://www.codecademy.com/courses/learn-html-css/lessons/common-elements/exercises/white-space?action=lesson_resume

We need your to post your code. All one can see at that link is our own workspace.

1 Like
<!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>
  
  <p> The following are subspecies of bears: </p>
  
  <a href="https://en.wikipedia.org/wiki/Brown_bear"target="_blank">Learn More</a>
  <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="#" alt="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" /> 
    </body>
    </html>
<!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>
  
  <p> The following are subspecies of bears: </p>
  
  <a href="https://en.wikipedia.org/wiki/Brown_bear"target="_blank">Learn More</a>
  <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="#" alt="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" /> 
    </body>
    </html>

There is still no space before the attribute.

" target="..."
 ^
space before attribute
2 Likes

May you please paste my code and if possible highlight a particular section/ sections where you did not find the space

Here is my code again: As you will see I put a space before the target on both occasions and still nothing. Thank you very much your effort

<!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>
  
  <p> The following are subspecies of bears: </p>
  <a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn More</a>
  <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="#" alt="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" /> 
    </body>
    </html>

You didn’t put the space in the right place.

As @mtf said.

1 Like

Here is my updated screenshot on which you will see the highlighted target and still nothing

Here it is updated still nothing

image

The closing tag (endtag) is missing from the link.

2 Likes

Please show me the specific line that shows the absence of the closing tag thank you

There is only one link, at line 29.

@eliapich,

Based on the lastest pic you provided (It is better to provide your code in the correct format rather than a picture next time)

1. You need to close your <a to become <a href="....." target="......">, it was there, why it’s gone?

2. The target attribute inside a tag should be with quotation marks, it was there before, why delete it?

target="............"

3. You should be having one opening tag of <img ......../>, it was there before, why it’s gone?

4. You’re missing a closing </a> tag in end of line 29.

5. Why does your url/link of wikipedia in line 29 is inserted in alt ? It should be inside img src="........" replacing the #

alt should be additional info like “a brown bear”, just text information.

1 Like

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