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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              
<div class="wrapper">
<div>
<h1 class="text-center">Hurricane Katrina</h1>
  <h2 class="text-center"><em> The Devastating Storm </em></h2>

<Img class="img-responsive well center-block thick-black-border padding-adjustment3" src="http://apopka.uhcpqdoe6fq4wtztv.netdna-cdn.com/wp-content/uploads/2016/08/ten-years-ago-on-friday-hurricane-katrina-arrived-on-the-gulf-coast.jpg" alt="Image of Hurricane Katrina here">
  <p class="text-center margin-adjustment1">     Hurricane Katrina makes landfall   </p>

<h2 class="text-center padding-adjustment1">     Facts about Hurricane Katrina</h2>
<ul class="padding-adjustment2">
  <li>The costliest natural disaster in the history of the U.S.</li>
  <li>The third strongest hurricane to make landfall in the U.S.</li>
  <li>Over 1200 deaths, making it the second deadliest hurricane in U.S. history</li>
  <li>Mayor Ray Nagin, Governor Kathlen Blanco, and President George W. Bush all received criticism for their responses to the storm</li>
  <li>The U.S Coast Guard and National Weather Service were praised for their tracking of the storm</li>
  <li>Katrina hit the Gulf Coast as a Category 3 hurricane on August 23rd, 2005</li>
  </ul>

<h4 class="text-center margin-adjustment2"> "I'll never forget Hurricane Katrina - the mix of a natural and a man-made catastrophe that resulted in the death of over 1,500 of our neighbors. Millions of folks were marked by the tragedy." </h3>
  
<p class="text-center margin-adjustment2"> -Cedric Richmond </p>

  <p class="text-center"> For more information about Hurricane Katrina, click <a href="https://en.wikipedia.org/wiki/Hurricane_Katrina">here.</a></p>
  
  
  </div>
  </div>

  <p class="text-center margin-adjustment3"> Written and coded by Allen Swain</p>

            
          
!
            
              .centered-image {
  width: 1200px
}
.thick-black-border {
  border-color: black;
  border-width: 5px;
  border-style: solid;
  border-radius: 10px;
    }



.wrapper {
  background-color: #CCC;
  margin: 20px auto;
  width: 960px;
  padding: 20px;
}

.padding-adjustment1 {
  padding: 40px 10px 5px 10px;
  
}

.padding-adjustment2 {
  padding: 20px 40px 20px 150px;
}

.margin-adjustment1 {
  margin: -62px 20px 30px 20px;
}

.padding-adjustment3 {
  padding: 20px 20px 50px 20px;
}

.margin-adjustment2 {
  margin: 20px 50px 20px 50px
} 

.margin-adjustment3 {
  margin: 50px 20px px 20px
}
            
          
!
            
              document.getElementsByTagName("h1")[0].style.fontSize = "80px";
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console