cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <html lang="en">

<head>
  <!-- Meta Tags  -->
  <meta charset="utf-8">
  <title>Grid System Problem 1</title>
  <meta name="description" content="">
  <meta name="author" content="">
  <!-- Responsive Viewport Code -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Fonts -->
  <!-- CSS -->
  <link rel="stylesheet" href="../css/normalize.css">
  <link rel="stylesheet" href="../css/skeleton.css">
  <link rel="stylesheet" href="custom.css">
  <!-- JS -->
  <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<!-- Main HTML for our Page -->
<body>
  <!-- Section here -->
  <div class="section example-grid">
    <div class="container">
      <h1 class="section-heading">Grid System</h1>
      <div class="row">
        <div class="twelve columns">Twelve</div>
      </div>
      <div class="row">
        <div class="six columns">Six</div>
        <div class="six columns">Six</div>
      </div>
      <div class="row">
        <div class="four columns">Four</div>
        <div class="four columns">Four</div>
        <div class="four columns">Four</div>
      </div>
      <!-- Row Added -->
      <div class="row">
      <div class="three columns">Three</div>
        <div class="three columns">Three</div>
        <div class="three columns">Three</div>
        <div class="three columns">Three</div>
      </div>
      <div class="row">
        <div class="two columns">Two</div>
        <div class="two columns">Two</div>
        <div class="two columns">Two</div>
        <div class="two columns">Two</div>
        <div class="two columns">Two</div>
        <div class="two columns">Two</div>
      </div>
    </div>
  </div>
  <!-- End section here -->
</body>
<!-- End Main HTML for our Page -->
</html>
            
          
!
            
              /*--------------------------------------------------------------*/
/*Default CSS for mobile first, applied before our media queries*/
/*--------------------------------------------------------------*/
html {
    height: 100%;
}
body {
    height: 100%;
}
.example-grid .columns {
    background-color: #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 4rem;
}
/* Buttons */
.button {
    border-radius: 4px;
}
/* Sections */
.section {
    padding: 6rem 0 6rem 0;
}
/*--------------------------------------------*/
/*Media queries for devices larger than mobile*/
/*--------------------------------------------*/
/* Larger than mobile */
@media (min-width: 400px) {}
/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
            
          
!
            
              //Instructions

//The columns in the grid layout are not properly aligned. Check the HTML and CSS for any structural or syntactical errors.

// Row added before three columns.
            
          
!
999px
Loading ..................

Console