Wrap with a div problem


#1

I don't able to understand wrap with a div topic ..Please provide me the solution on how to clear wrap with div stage


#2

Wrap with a div

You should have created two ul elements in the previous exercises, like this:

<ul>
  <li>Betty Rose</li>
  <li>Browse</li>
</ul>
<ul>
  <li>Sign Up</li>
  <li>Log In</li>
  <li>Help</li>
</ul>

This exercise is asking you to put those two lists inside of a nav and a container div like this:

<div class="nav">
    <div class="container">

        put your two lists in here

    </div> <!-- close the container -->
</div> <!-- close the nav -->

Do you see how that works now?


#4

Hi, I am having the same problem - i feel stupid but I really don't know what I am doing wrong :frowning:

Please help!


#5

@keznjoebigpond_com, did you follow the steps in my earlier post? Please copy/paste your code and include the error message that you are seeing so I can see what you have so far.


#6

Hi Albionsrefuge
Thank you for responding, please see screen shots attempted.


I appreciate any help you can offer.


#7

I can see that you are missing all of the closing tags on your list items and your list elements. Almost all HTML elements need both and opening and a closing tag.

Have a look at the example that I posted earlier to see how those should be placed.


#8

Woo hoo, I followed your last example exactly and it has worked.

I now see what you mean as I had not added the / to close anything off.

Thank you for the support :smile:


#9

Okay so I did exactly what you are instructing...still can't pass. HELP??!


#10

Not exactly, you didn't. You have

  • a </ui> there instead of a </ul>
  • a </i> instead of a </li>

#11

OH WOW....Thank you!!


#12

At step 15 and 16 I closed the exactly how Albionsrefuge wrote it including the symbols and text close the container etc and this worked for me.


#13

im having the same problem but this one is on the last step on the "make a website"


#14

The very last step on the Make a website course or just the last step on the Make a Website : HTML unit?

It will be easier to find the problem if you post your code. It is usually a missing link, bracket, colon or semicolon -- much easier to spot with the code in front of us.