This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by mazigulu
over 8 years

4/9 [resolved] I cant seem to pass this stage even after following the instructions

theres my code. heres the error message i keep getting Oops, try again. Add an h1 element after the closing </div> tag. I have done that as per the instructions but the error message keeps popping up,what could be the problem. Someone please help

<!DOCTYPE html>
<html>
  <body>
  <div class="nav">
    <div class="container">
    <ul>
      <li>Item 1</li>
      <li>item 2</li>
     

    </ul>
    <ul>
     <li>Sign up</li>
     <li>Log in</li>
     <li>Help</li>
     </ul>
   </div>
     </div>
     <h>Find a place to stay<h1>
     <p>Rent from people in over 34,000 cities and 192 countries.</p> 
  </body>
</html>

Answer 55942f0b76b8fe5168000033

0 votes

Permalink

Hi mazigulu,

As you can probably tell from the message, this is the line that needs attention:

<h>Find a place to stay<h1>

To create an h1 element you need an opening and a closing tag and then there is usually some text between those two tags, like this:

<h1>Some text in here</h1> 
points
Submitted by Judy
over 8 years

2 comments

mazigulu over 8 years

Got it thanks for the help, I appreciate it

Judy over 8 years

You’re welcome!

Answer 560f3c1ad3292fb2a80001fe

0 votes

Permalink

4/9 [resolved] I cant seem to pass this stage even after following the instructions

I need your help not where I’m wrong

<div class=<!DOCTYPE html>
<html></div>
  <body>
  <div class=<ul>
      <li>Maycol</li>
      <li>"Browse"</li>
    </ul>
 <ul>  
 <li>"Sign Up"</li>
 <li>"Log In"</li>
 <li>"Help"</li>
 </ul>
 </div>
 </div>
 <h1>Find a place to stay.</hi>
 <p>Rent from people in over 34.000 cities and 192 countries.</p>
  </body>
</html>
points
Submitted by mike wolf
over 8 years

1 comments

Judy over 8 years

Hi Mike, <div class=

Answer 56133d64b6254835050000cb

0 votes

Permalink

4/9 [resolved] I cant seem to pass this stage even after following the instructions

<DOCTYPE html>
<html>
  <body>
  
<ul> 
<li>Maycol</li>
<li>"Browse"</li>
    </ul>
 <ul>  
 <li>"Sign Up"</li>
 <li>"Log In"</li>
 <li>"Help"</li>
 </ul></div> 
  </body>
</html>

so I’ll stick with the changes but I still dating , Oops, try again . Add an h1 element after the closing < / div > tag . I do wrong ?

points
Submitted by mike wolf
over 8 years

1 comments

Judy over 8 years

Hi Mike, where did your h1 element go? And you p element? I don’t see them in this latest version of your code but I do see them in your previous version.

Answer 56148367d3292fdbea000208

0 votes

Permalink

4/9 [resolved] I cant seem to pass this stage even after following the instructions

<DOCTYPE html>
<html>
  <body>
  
<ul> 
<li>Maycol</li>
<li>"Browse"</li>
    </ul>
 <ul>  
 <li>"Sign Up"</li>
 <li>"Log In"</li>
 <li>"Help"</li>
 </ul></div> 
 <h1>"find a place to stay"</h1>
 <p>"Rent from people in over 34.000 cities and 192 countries"</p>
  </body>
</html>

so I’ll stick with the changes but I still dating , Oops, try again . Add an h1 element after the closing < / div > tag . I do wrong ?

points
Submitted by mike wolf
over 8 years

1 comments

Judy over 8 years

Hi MIke, sorry I didn’t notice earlier, but you are missing the opening tag for your nav div. You need a

just before your first list begins.