Complete the code to create a Bootstrap row container.
<div class="container"> <div class="[1]"> Content here </div> </div>
The row class creates a horizontal group of columns in Bootstrap.
Complete the code to create a column that takes half the width on medium screens.
<div class="row"> <div class="[1]"> Half width column </div> </div>
The class col-md-6 makes the column take 6 out of 12 parts (half) on medium screens.
Fix the error in the code to properly nest columns inside a row.
<div class="container"> <div class="[1]"> <div class="col-4"> Content </div> </div> </div>
Columns must be direct children of a row in Bootstrap.
Fill both blanks to create two columns: one taking 8 parts and the other 4 parts on large screens.
<div class="row"> <div class="[1]"> Main content </div> <div class="[2]"> Sidebar </div> </div>
Use col-lg-8 and col-lg-4 to split the row into 8 and 4 parts on large screens.
Fill all three blanks to create a responsive layout with a row containing three columns: full width on small screens, and 4 parts each on medium screens.
<div class="container"> <div class="[1]"> <div class="[2]"> Column 1 </div> <div class="[3]"> Column 2 </div> <div class="col-sm-12 col-md-4"> Column 3 </div> </div> </div>
The row groups columns. Each column uses col-sm-12 col-md-4 to be full width on small screens and 4 parts on medium screens.