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.

            
              <html lang="en">
<head>
  <meta charset="utf-8">
  <title>Steve Biko</title>
</head>  
  <body>
      <div class="paddingBlock">
        <div class="content container">
          <header role="banner">
            <hgroup>
            <div class="row">
               <div class="col-sm-12">
                 <h1 class="text-center">Steve biko</h1>
               </div><!--h1-->
               <div class="col-sm-12">
                 <h2  class="text-center"><i>The man who faught for equality in South Africa</i></h2>
               </div><!--h2-->
            </div><!--headingrow--> 
            </hgroup>
          </header>
          
           <main role="main">
           <article>

            <div class="row">
              <div class="paddingImage">
                <div class="imageBox col-sm-6 border-10"> 
                  <img src="https://mir-s3-cdn-cf.behance.net/project_modules/disp/87b7ce2586999.585b2f77630ab.jpg" class="img-responsive" alt="Steve Biko mural"/>
                        <p class="imageNote"> 
                          A mural of Steve Biko I painted in the jail cell where he was last held at Walmer Police Station, Port Elizabeth.
                        </p>
                 </div> <!--image box-->
               </div> <!--paddingImage-->                           
             </div><!--image row-->

              

              <div class="factsBox col-sm-6">
                <h3>Facts about Steve Biko: </h3>    
                  <ul>
                    <li><b>1946</b> - Bantu Steve Biko is born in Tylden. He is brought up in Ginsberg, King Williams Town and he attends the Charles Morgan Primary School and Forbes Grant secondary school.</li>
                    <li><b>1961</b> - He joins his elder brother Khaya at Lovedale and is expelled because of his brother’s political activities. He moves on to attend St. Francis College in Marianhill in what was Natal.</li>
                    <li><b>1966</b> - Attends the University of Natal (Non-European section) at Wentworth as a medical student.</li>
                    <li><b>1969</b> - Forms the South Africa Student’s Organisation (SASO) and is elected as its first president. Also forms the Black People’s Convention (BPC).</li>
                    <li><b>1972</b> - Helps form and works for Black Community Programmes (BCP) and the university discontinues his medical studies.</li>
                    <li><b>1973</b> - Banned and restricted to King William’s Town for five years. Not allowed to work for any political organizations, not allowed to be published or quoted.</li>
                    <li><b>1974</b> - Arrested and discharged a number of times. On occasions charged and acquitted.</li>
                    <li><b>1975</b> - Founds Zimele Trust Fund and Ginsberg Educational Trust. Is detained and held for 137 days without charge or trial.</li>
                    <li><b>1976</b> - Elected as Honorary President of BPC. Subpoenaed to give testimony in the SASO-BPC trial. Detained in solitary confinement for 101 days.</li>
                    <li><b>1977</b> - Arrested in March, detained and then released. Arrested again in July, charged, acquitted. Arrested again on the 18 August.</li>
                    <li><b>1977</b> - Funeral on 25 September.</li>
                    <li><b>1977</b> - Inquest into his death from 14 November to 2 December.
                  </ul>

                  <p class="quoteText">
                  "The most potent weapon in the hands of the oppressor is the mind of the oppressed."
                  </p>
                  <p><b><i>&#8212; Steve Biko</i></b></p>

               </article>
               </main>
               <aside role="complimentory">
                  <h4 class="text-center"> If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Steve_Biko" target="_blank">Wikipedia entry.</a>
                  </h4>
               </aside>
               <br>
               </div><!--factsBox--> 
             </div> <!--content-->
    
             <hr class="container">
                
             <footer role="contentinfo">
                <p class="text-center">Coded and painted by<a href="https://www.freecodecamp.com/nthnmillar" target="_blank"> Nathan Ryan Millar</a></p>
             </footer>     
       </div><!--paddingBlock-->                                    
  </body>              
</html>
            
          
!
            
              body {
  margin-top:60px;
  background-color: white;
  font-size:160%;
}

.paddingBlock{
  padding-left:10px;
  padding-right:10px;
}

.container{
  padding-left:0;
  padding-right:0;
  border-radius: 5px;
}

.content {
  background-color: #dadada; 
}

h1 {
padding-top:15px;
font-size:60px;
}

@media screen and (max-width: 568px) {
  h1 {
  padding-top:15px;
  font-size:40px;
  }
}

h2 {
  margin-top:5px;
  padding-bottom:20px;
  font-size:30px;
} 

@media screen and (max-width: 568px) {
  h2 {
    font-size:20px;
  margin-top:5px;
  padding-bottom:20px;
  } 
}

.paddingImage{
  padding-left:15px;
  padding-right:15px;
}

.imageBox
{
  border: 1px solid #b6b6b6;
  border-radius: 5px;
  float: none;
  margin: 0 auto;
  background-color: white;
  padding-top:5px;
  padding-left:5px;
  padding-right:5px;
}

.imageNote {
      padding-top:5px;
}

.factsBox {
    float: none;
    margin: 0 auto; 
}

.quoteText {
  font-size:1.2em;
  font-family: Georgia;
  padding-top:10px;
}

h4 {
  padding-top:15px;
  font-size:1.3em;
}


  

            
          
!
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