Common elements Exercise 11/15


#1

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


#2

Be sure to leave a space before all attributes.


#3

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


#4

Please post your code again. Thanks.


#5

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


#6

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


#7
<!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>

#8
<!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>

#9

There is still no space before the attribute.

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

#10

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


#11

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>

#12

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

As @mtf said.


#13

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


#14

Here it is updated still nothing


#15


#16

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


#17

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


#18

There is only one link, at line 29.


#19

@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.


#20

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