css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              
<!DOCTYPE html>
<html>
  <head>
<title>A tribute to Nelson Mandela</title>
</head>
  <body>
<h1 class = "text-center "> Nelson Mandela</h1>
<h3 class = "text-center "><em>The iconic South African Freedom Fighter </em></h3>
  <img src = https://blogs.ft.com/the-world/files/2013/12/163447973-590x467.jpg class="img-responsive" alt="Nelson Mandela">
  <p class="text-info text-center text-primary">Nelson Mandela a few days after being released from jail in 1990</p>
  <h4 class = "text-center"> <u>Timeline</u> </h4>
  <div class ="text-center">
    
  <ul type="none">
    <li><em>1918: </em>Born Rolihlahla Mandela in Transkei, South Africa.</li>
    <li><em>1925: </em> Attends primary school near Qunu</li>
    <li><em>1930: </em> Father dies. Entrusted to Thembu Regent Jongintaba Dalindyebo at the age of 12</li>
    <li><em>1934: </em>Initiated. Attends Clarkebury Boarding Institute, Engcobo</li>
    <li><em>1937: </em> Attends Healdtown, the Wesleyan College at Fort Beaufort</li>
    <li><em>1939: </em>Enrols at the University College of Fort Hare, Alice</li>
    <li><em>1941: </em>Escapes an arranged marriage; becomes a mine security officer; starts articles at the law firm Witkin, Sidelsky & Eidelman</li>
    <li><em>1942: </em>Completes BA through the University of South Africa</li>
    <li><em>1943: </em> Graduates with BA from Fort Hare; Enrols for an LLB at Wits University  </li>
    <li><em>1944: </em>Co-founds the ANC Youth League (ANCYL); marries Evelyn Ntoko Mase</li>
    <li><em>1948: </em> Elected national secretary of the ANCYL</li>
    <li><em>1952: </em>Defiance Campaign begins; Arrested and charged for violating the Suppression of Communism Act; Elected Transvaal ANC President; Convicted with J.S Moroka, Walter Sisulu and 17 others under the Suppression of Communism Act; Sentenced to nine months imprisonment with hard labour, suspended for two years; Elected first of ANC deputy presidents; Opens South Africa’s first black law firm with Oliver Tambo</li>
    <li><em>1953: </em>Devises the M-Plan for the ANC’s future underground operations <li>
    <li><em>1955: </em>Watches as the Congress of the People at Kliptown adopts the Freedom Charter<li>
    <li><em>1956: </em>Arrested and later joins 155 others on trial for teason. All are acquitted by 29 March 1961<li>
    <li><em>1958: </em>Divorces Evelyn Mase; Marries Nomzamo Winnie Madikizela (1960)<li>
    <li><em>1960: </em>Sharpeville Massacre.A State of Emergency is imposed & Mandela is detained. The ANC is banned<li>
    <li><em>1961: </em>Goes underground; Umkhonto weSizwe (MK) is formed<li>
    <li><em>1962: </em>Leaves the country for military training. Sentenced to 5 years in prison for incitement<li>
    <li><em>1963: </em>Sent to Robben Island <li>
    <li><em>1982: </em>Mandela, Sisulu, Raymond Mhlaba & Andrew Mlangeni and later Ahmed Kathrada are sent to Pollsmoor Prison<li>
    <li><em>1988: </em>Moved to Victor Verster Prison in Paarl where he is held for 14 months in a cottage<li>
    <li><em>1990: </em>ANC is unbanned. Mandela is released. Elected ANC Deputy President<li>
    <li><em>1993: </em>Awarded the Nobel Peace Prize<li>
    <li><em>1994: </em>Elected by Parliament as first president of a democratic South Africa (SA). Inaugurated as President of SA<li>
    <li><em>1996: </em>Divorces Winnie Mandela<li>
    <li><em>1998: </em>Marries Graca Machel on his 80th birthday<li>
    <li><em>1999: </em>Steps down after one term as President; establishes the Nelson Mandela Foundation<li>
    <li><em>2007: </em>Attends the installation of his grandson Mandla as chief of the Mvezo Traditional Council<li>
    <li><em>2011: </em>Admitted to hospital in Johannesburg. Discharged after two nights<li>
    <li><em>2013: </em>Admitted to hospital.Passes away at home in Johannesburg<li>
  </ul>
  <div class = "more-info">
  <p> For more information on Mandela's life, please refer to <a href="https://en.wikipedia.org/wiki/Nelson_Mandela" target="_blank"><u>Wikipedia</u></a></p>
    </div>
  
  <div class ="container">
  <footer>&copy; Afro </footer>
  </div>
 
</body>
    
</html>

            
          
!
            
              

h1 {
  font-family: 'Kaushan Script', cursive;
  font-size: 60px; 
  color: black;
  font-weight: normal;
}
h3{
  color: 	#ff0000;
  font-family: Snell Roundhand;
  
}
h4{
  font-weight: bold;
  
}
 
img {
    border-radius: 10%;
    display: block;
    margin: 0 auto;
}


li { text-align:left; 
  margin: 10px 3%; 
  padding: 0.02cm;
  background-color:white;
  font-family: Zapf Chancery;
  font-weight: bold;
  }

body{
  
  background-color:#95B9C7;
}
.container{
  color:#0000db;
  
}
.more-info{
  color: red;
  font-weight: bold;
}

            
          
!
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.
Loading ..................

Console