Step 18 City Sky Line - Code Help

Hello,

I am stuck on Step 18 of Building a City Skyline.

This is the instructions:

Step 18

Your first building looks pretty good now. Nest three new div elements in the .background-buildings container and give them the classes of bb2, bb3, and bb4 in that order. These will be three more buildings for the background.

When I check my code it says I need to add 3 more div elements, but no matter what combination I try my code doesn’t pass.

This is my code I currently have:

<div class="background-buildings">
         <div class="bb2"></div>
            <div class="bb3"></div>
                  <div class="bb4"></div>
      </div>

I also tried:

  <body>
    <div class="background-buildings">
      <div class="bb1">
           <div class="bb1a"></div>
           <div class="bb1b"></div>
           <div class="bb1c"></div>
           <div class="bb1d"></div>
     <div class="bb2"></div>
      <div class="bb3"></div>
     <div class="bb4"></div>
</div>

Thanks!

Welcome to our community!

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

The three new div elements with the classes bb2, bb3, and bb4 should be nested within the .background-buildings container, alongside the existing bb1 div.So put them down the bb1 closing div.

step 18 building the city skyline

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