Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <head>
<title>Tribute Page</title>

</head>
<!-- This is the area of the h1 and h3 site tile -->	
	
	<div class="title">
		<h1 class="text-primary text-center" meta name="viewport" content="width=device-width, initial-scale=1">Nelson Mandela</h1> 
		<h3 class="text-center">The love for freedom and peace</h3>
	</div>
	
<!--This is the area of the two pictures which appear under site title -->	
	
	<div id="pic" class="container-fluid">
		<div class="row-fluid">
			<div class="col-md-6"><img id="nelson" class="pics" class="img-responsive" src="http://i.usatoday.net/_common/_notches/-mandela-sized.jpg"></div>
			<div class="col-md-6"><img class="pics" class="img-responsive" src="http://img04.deviantart.net/02eb/i/2009/199/f/1/south_africa_flag_grunge_by_think0.jpg"></div>
		</div>
	</div>

<!-- Written content begins here -->

	<h2 class="text-center">His Timeline Towards Freedom</h2>
	
	<div id="timeline" class="container-fluid">	
		<ul>
		
			   <li><strong>1918</strong>  July 18th: Rolihlahla Dalibhunga Mandela is born a member of the Madiba clan. His tribal name, "Rolihalah," means "troublemaker." He is later given his English name, Nelson, by a teacher at his school</li>

			  <li><strong>1919</strong>	 His father is dispossessed of his land and money on the orders of a white magistrate</li>
			  
			  <li><strong>1927</strong>  His father dies. The acting chief of the Thembu clan, Jongintaba Dalindyebo becomes his guardian and ensures he receives an excellent education</li>
			  
			  <li><strong>1937</strong>  Moves to Healdtown attending the Wesleyan college in Fort Beaufort. </li>
			  
			  <li><strong>1939</strong>  Asked to leave Fort Hare due to his involvement in a boycott of the Students'Representative Council against the university policies;<br>   Asked to leave Fort Hare due to his involvement in a boycott of the Students' Representative Council against the university policies;<br>  Moves to Johannesburg to escape an arranged marriage and experiences the system of apartheid which forbade the black population to vote, travel without permission or own land;<br>  Worked as a guard at a mine and then clerk at a law firm;<br>  Completed his degree via a correspondence course at the University of South Africa;<br>  Studies Law at the University of Witwatersrand whilst living in Alexandra</li>
			  
			  <li><strong>1943</strong>  Joins the African National Congress (ANC) as an activist.</li>
			  
			  <li><strong>1944</strong>	 Forms the Youth League of the ANC with Oliver Tambo and Walter Sislu<br> Marries his first wife Evelyn Ntoko Mase. The couple had three children but the marriage breaks up in 1957</li>
			  
			 <li><strong>1948</strong>  South African government (Afrikaner-dominated National Party) limits the freedom of black Africans even more when the apartheid policy of racial segregation is introduced across the country</li>
			    
			 <li><strong>1952</strong>  Opens the first black legal firm in South Africa with fellow lawyer Oliver Tambo providing free or low-cost legal counsel to many blacks who would otherwise have been without legal representation.<br>  Mandela was prominent in the ANC's 1952 Defiance Campaign</li>
			    
			 <li><strong>1955</strong>	Freedom Charter adopted at the Congress of the People calling for equal rights and a program of the anti-apartheid cause</li>
			    
			 <li><strong>1956</strong>	December 5th Accused of conspiring to overthrow the South African state by violent means with 155 other political activists and charged with high treason.</li>
			    
			 <li><strong>1957</strong>  His marriage of 13 years to his first wife Evelyn Ntoko Mase breaks up</li>
			 
			 <li><strong>1958</strong>  Marries Nomzamo "Winnie" Madikizela, a social worker, and the couple have two children. (Their marriage ended in separation in April 1992 and divorce in March 1996.)</li>   
			    
			 <li><strong>1959</strong>  Parliament passes new laws extending racial segregation by creating separate homelands for  major black groups in South Africa<br>  The ANC loses most of its financial and militant support when members break away to form the Pan Africanist Congress (PAC) under Potlako Leballo and Robert Sobukwe</li> 
			    
			<li><strong>1960</strong>  Sharpeville Massacre: Police kill 69 peaceful protestors and the ANC is banned; <br>Mandela goes into hiding and forms an underground military group with armed resistance
			</li>

			 <li><strong>1961</strong>  Issues a call to arms and becomes the ANC leader of the newly formed Umkhontoat guerrilla movement at the All-In African Conference</li>

			 <li><strong>1962</strong> 	August 5: Arrested after living on the run for seventeen months and was imprisoned in the Johannesburg Fort.
			</li>   

			    
			<li><strong>1962</strong>  October 25the: Nelson Mandela was sentenced to five years in prison but again goes on the run</li>

			 <li><strong>1964</strong>  June 12th: Captured and convicted of sabotage and treason and sentenced to life imprisonment at the age of 46, initially on Robben island where he would be kept for 18 years</li>

			 <li><strong>1965</strong>  Rhodesia gains its independence and only whites are represented in the new government</li>
			    
			<li><strong>1968</strong>  His mother dies and his eldest son is killed in a car crash but he not allowed to attend either of the funerals</li>

			<li><strong>1974</strong>  Rhodesia expelled from united nations due to the policy of apartheid </li>
			    
			<li><strong>1976</strong>  Over 600 students killed in protests at Soweto and Sharpeville</li>

			<li><strong>1977</strong>  Steve Biko, the leader of the protests, is killed whilst in police custody.</li>

			<li><strong>1980</strong>  	The exiled Oliver Tambo launches an international campaign for the release of his friend
			</li>

			<li><strong>1983</strong>  The government allows farmers to re-arm and protect themselves from black dissidents</li>
			    
			<li><strong>1984</strong>  	Government sources state that declared that since 1983 black dissidents have murdered 120, mutilated 25, raped 47 and committed 284 robberies</li>
			    
			<li><strong>1986</strong>  	Sanctions against South Africa tightened costing millions in revenue</li>
			    
			    
			<li><strong>1988</strong> 	Amnesty is announced for all dissidents, 122 surrender.</li>

			<li><strong>1990</strong>  February 11th Nelson Mandela is released from prison after 27 years; <br>  President De Klerk lifts the ban on the African National Congress (ANC);
			<br>The ANC and the white National Party begin talks on forming a multi-racial democracy for South Africa.</li>

			<li><strong>1991</strong>  Becomes President of the African National Congress (ANC); <br>  Becomes President of the African National Congress ( ANC ); <br>The International Olympics Committee lift a 21 year ban on South African athletes competing in the Olympic Games.</li>
			    
			<li><strong>1992</strong>  April:  Separates from Winnie Mandela after she is convicted of kidnapping and being an accessory to assault.</li>

			<li><strong>1993</strong>  March:  Divorces Winnie Mandela;  <br>	March:  Divorces Winnie Mandela;
			<br>Nelson Mandela and Mr de Klerk are awarded the Nobel Peace Prize.</li>

			<li><strong>1995</strong>  South Africa hosts the 1995 Rugby World Cup and South Africa wins. Nelson Mandela wears a Springbok shirt when he presents the trophy to Afrikaner captain Francois Pienaar. This gesture was seen as a major step in the reconciliation of white and black South Africans.</li>

			<li><strong>1998</strong>  Marries Graca Machel, the widow of the former president of Mozambique, on his 80th birthday;<br> 	Marries Graca Machel, the widow of the former president of Mozambique, on his 80th birthday;<br> Tours Canada.</li>
			<li><strong>1999</strong>  Relinquishes presidency in favor of Thabo Mbeki, who was nominated ANC president in 1997; <br> Toured the world as a global statesman.
			</li>

			<li><strong>2000</strong>  Appointed as mediator in the civil war in Burundi.</li>

			<li><strong>2001</strong> Nelson Mandela was diagnosed and treated for prostate cancer with radiation; <br> Made an honorary Canadian citizen.
			</li>

			<li><strong>2003</strong>  Attacked the foreign policy of the George W. Bush; <br> Later that same year, he lent his support to the 46664 AIDS fundraising campaign. The initiative was named after his prison number</li>

			<li><strong>2004</strong>  June: Nelson Mandela announced that he would be retiring from public life at the age of 85; <br> July: Flew to Bangkok to speak at the XV International AIDS Conference <br>   July 23rd: Johannesburg bestowed its highest honour by granting Nelson Mandela the freedom of the city.</li>
			<li><strong>2013</strong>  After suffering from a prolonged respiratory infection, Mandela died on December 5th, 2013 at the age of 95.</li> 
		</ul>
	</div>

	<p class="text-center" id="wikiparagraph"><strong>Read more about him at<strong><a href= "https://en.wikipedia.org/wiki/Nelson_Mandela" target="_blank"> Wikipedia</a>.</p>
		
<!--Quote of Muhamma Ali section begins here -->

	<div class="row-fluid">
		<div id="first-col" class="text-center" class="col-md-12">		
			 <blockquote> 
				 <p id="quote">"He made us realize, we are our brothers' keeper and that our brothers come in all colors."</p>
				 <footer>Muhammad Ali<cite title="Source Title"></cite></footer>
			 </blockquote> 
			<img align="middle botton" class="img-circle img-responsive" alt="Muhammad-Ali" src="http://a5.files.biography.com/image/upload/c_fit,cs_srgb,dpr_1.0,h_1200,q_80,w_1200/MTE5NTU2MzE2MTM4ODY2MTg3.jpg">
		</div>
	<div class="col-md-12">

<!-- Footer starts here -->

		<p id="designed-by" class="text-center"> Designed by JJ Brooks<code>&#169;</code> 2016</p>	
	</div>
	

</div>	

</html>

              
            
!

CSS

              
                h1 {
	font-family: Tangerine;
	padding-top: 3%;
	font-size: 90px;
  margin-top: 0;

}

h3 {
	font-style: italic;
	padding-bottom: 3%;
	color: #ffffff;
	font-family: proxima-nova;

}	

.title {
	background: #222;

}
	
#body-container {
	border: 2px solid #cccccc;
    background: #ffffff; 
    width: auto;
    border-bottom: none;
}

.container-fluid {
  max-width:100%;
  padding:0;
}


h2 {

	font-family: Baskerville;
    padding-top: 30px;
}

.pics {

	width: 100%;
	height: 400px;
}	
	 	 
#nelson {
	border: 3px solid;
	border-right-color: red;
	border-left-color: green;
	border-bottom-color: #00008B;
	border-top-color: #dfc12a;
}


#timeline {

  font-family: Baskerville;
  font-size: 18px;
  padding-top: 30px;
  padding-left: 5%;
  padding-right: 5%;
  
}

#quote {
   font-family: Baskerville;
  font-size: 30px;
  font-style: italic;
  color:  #808080;
 
  
}

blockquote {
	border-left: hidden;
}

.img-circle {
	border: 6px solid #808080;
	width: 10%;
	height: 10%;
	max-height: 25%;
	max-width: 25%;
    margin: 0 auto;
    margin-bottom: 2%;
}

#first-col {
	border: 2px solid #222;
	background: #222;
} 

#wikiparagraph {
  font-family: Baskerville;
  font-size: 18px;

} 


#designed-by {
	color: black;
	margin-top: 2%;
}
              
            
!

JS

              
                
              
            
!
999px

Console