Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <title>Freecodecamp Project - Michael Collins Tribute</title>
<body>
  
<!-- Start of Panel Code -->
  
<div class="panel panel-default">
  <div class="h1-top"><h1 class="text-center panel-title">Michael Collins</h1></div>
    <h3 class="text-center"><em>The man who fought for Irish freedom</em></h3>
  
<!-- Start of Image Code  -->
  
  <div class="text-center">
    <div class="img-thumbnail">
       <img src="http://www.irishcentral.com/uploads/article/7889/MI-Michael-collins-wikipedia- big-fella.jpg" 
            alt="">
       <div class="img-style">
      <div class="img-text text-center">Collins' addressing a roaring crowd in Dublins inner city</div>
     </div>
    </div>
   </div>
  
  <!-- End of Image Code   -->
    <div class="container">
      <div class="row">
       <div class="col-4-8"><div class="bottom-h3"><h3>Here's a timeline of Michael Collins life:</h3></div>
        </div>
  <ul> 
<li> <b>1890</b> Michael Collins is born on the 16th October in Sam’s cross near Clonakilty, Co. Cork.</li>
<li><b>1897</b> Collins father dies. On his death bed, his father (who was the seventh son of a seventh son) turned to the family and told them to take care of Michael, because "One day he'll be a great man. He'll do great work for Ireland." Michael was six years old when his father died.</li>
<li><b>1903</b> At the age of thirteen he boarded at Clonakilty National School. During the week he stayed with his sister Margaret Collins-O'Driscoll.</li>
<li><b>1906</b> After leaving school at fifteen, Collins took the British Civil Service examination in Cork in February 1906, and was then employed by the Royal Mail. After a short period that year, he left his job at the Royal Mail and moved to the home of his elder sister Hannie (Johanna) in London where he became a messenger at a London firm of stockbrokers, Horne and Company. While there he joined the IRB (Irish Republican Brotherhood).</li>
<li><b>1915</b> Collins moves to the Guaranty Trust Company of New York, USA, where he remained until his return to Ireland the following year.</li>
<li><b>1916</b> Collins fights in the infamous 1916 rising and is subsequently imprisoned in Frongoch internment camp in wales. There he began to emerge as a major figure in the vacuum created by the executions of the 1916 leadership. He began hatching plans for "next time" even before the prison ships left Dublin.</li>
<li><b>1917</b> Collins became one of the leading figures in the post-Rising independence movement spearheaded by Arthur Griffith. By October 1917 Collins had risen to become a member of the executive of Sinn Féin and director of organisation for the Irish Volunteers.</li>
<li><b>1918</b> Sinn Féin swept the polls throughout much of Ireland. Collins is elected as an MP for West Cork. Sinn Fein refuses to take seat in Westminster, but instead sets up an Irish Parliament in Dublin called Dail Eireann.</li>
<li><b>1919 </b>Irish war of Independence begins. In September, Collins was made Director of Intelligence for the Irish Republican Army, an armed paramilitary organized for the war. Collins is widely considered the father of 20th century guerilla warfare, a tactic which he perfected and which proved to be highly effective against the British Empire.</li>
<li><b>1921</b> In July, Lloyd George's government offers a truce. The British Empire offered the Anglo-Irish treaty. Although very complex, in summary it concluded that the empire withdraw from the 26 counties of Ireland, leaving 6 counties in the north as a separate state known as Northern Ireland. The agreement was signed in London on 6 December 1921 by Michael Collins. Collins becomes leader of the free-state.</li>
<li><b>1922</b> Civil War starts in Ireland between newly formed free-state government and hardline republicans over the terms and agreements of the Anglo-Irish treaty.</li>
<li><b>1922</b> Collins is shot dead by an unknown source 22 August. His death is subject to widespread speculation and controversy. 
</li>
  </ul>
  <br />
  <h4>“Give us the future..we’ve had enough of your past..give us back our country to live in—to grow in..to love.”</h4>
  <em>Michael Collins - During the treaty negotiations.</em>
  <br />
  <h3>If you have time, you can read more about this incredible person on his <a href="https://en.wikipedia.org/wiki/Michael_Collins_(Irish_leader)">Wikipedia entry.</a></h3>
    </div>
  <hr />
    </div>
  </div>
  </div>
<!-- End of Panel Code -->
  <hr />
  <div class="text-center">Written and coded by <a href="https://www.freecodecamp.com/instacoder">Shane Furlong</a></div>
</body>


              
            
!

CSS

              
                  .panel {
    padding: 15px;
    margin-top: 60px;
    margin-bottom: 60px;
    margin-left: 0px;
    margin-right: 0px;
    border: 0;
  }
  .panel-default {
   background-color: #ededed; 
  }
  .h1, .h3 {
    text-align: center;
  }
  .center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding; 0px;
  }
  h1.panel-title {
    font-size: 70px;  
  }
  .img-responsive {
    margin: 0 auto; 
  } 
  .img-text {
    margin: auto;
    padding: 7px;
  }  
  .bottom-h3 {
    Padding-top: 10px;
    margin-top: 5px;
  }
  .h1-top {
    margin-top: 60px;
  }



              
            
!

JS

              
                
              
            
!
999px

Console