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


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <title>Tribute Page Project</title>
<div class="container">

  <h2>Simo Häyhä</h2>
    <div class="container">
      <div class="row text-center">
      <img class="img-responsive" src="" alt="Simo Häyhä">
  (1905 - 2002)<br>

<p class="text-center"> Simo Häyhä, aka <span class="white"><em>The White Death</em></span> was a Finnish sniper who served during <a href="" target="_blank">The Winter War</a> between 1925 and 1940. He helped to defend Finland from Soviet invaders. Over the course of just 100 days, Simo racked up over 500 confirmed sniper kills, as well as an additional 200 with his Suomi 9mm SMG. To prevent giving away his firing position with the glare of a scope, Häyhä used only the iron sights on his rifle. The Soviets attempted many counter measures to stop him, all of which failed. An opposing sniper struck him in the jaw with an exploding round, putting him in an 11 day coma. He woke up the day the war ended.  
    <img class="img-responsive" src="">
    <div class="list">
      <li>Birth: December 17th, 1905</li><br>
      <li>Allegiance: Finland</li><br>
      <li>Years of Service: 1925-1940</li><br>
      <li>Rank: Vänrikki (Second Lieutenant)</li></br>
  <li>Awards: Cross of Liberty, Medal of Liberty</li><br>
      <li>Death: April 1st, 2002 (Age 96)</div><br>
    <p>To learn more about Simo Häyhä, visit his <a href="" target="_blank"><strong>Wikipedia</strong></a> page!<br>
     Sign up for a weekly newsletter: 
    <form action="/newsletter">
    <input type="text" required placeholder="Email Address">
      <button type="submit">Submit</button></form>


                body {
  margin: 10px;
  background-color: grey;
  font-family: Jura, Helvetica, Arial, Courier;
  font-size: 15px;
  border-style: solid;

img {
  margin: auto;
  display: block;

.list {
  margin: 0 auto;
  width: 180px;

a {
  color: darkblue;
  font-weight: bold;

.white {