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

              
                <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>

<style type = "text/css">
  .title{
    color:white;
    font-size:100px;
    font-family:Lobster,Arial;
    }
  .under-title{
    color:white;
    font-size:50px;
    font-family:Arial;
  }
  .background-color{
      background-color: black;
    }
  .MLK-picture{
    width:100%;
    border-width:25px;
    border-radius:60%;
    text-center;
  }
  .motivation{
    font-size:20px;
    font-family:Arial;
  }
  .timeline-title{
    color:black;
    font-size:35px;
    font-family:Arial;
  }
  .timeline{
    font-size:20px;
    font-family:Arial;
  }
  .center {
    text-align: center; 
    list-style-position:inside;
  }
  .title-color{
    background-color:silver;
    border-radius:3%;
  }
  .ending{
    color:white;
    text-align:center;
    font-family:Arial;
    font-size:15px;
  }
  .test{
    margin-left:50px;
  }
  .test2{
    text-align:right;
  }
  .margin-correct{
    margin-left:30px;
    margin-right:20px;
    margin-bottom:10px;
    padding:20px;
  }
  .margin-correct2{
    margin-right:50px;
  }
  }
</style>
<div class= "background-color">
<div class = "container-fluid">
  
  <p class = "title text-center">Martin Luther King Jr.</p>
  <p class = "under-title text-center"><i>The man who dreamed</i></p>
  <div class = "title-color">
  <a href ="https://en.wikipedia.org/wiki/Martin_Luther_King_Jr." target="_blank"><img class = "MLK-picture" src = "https://i.ytimg.com/vi/HD9vIV1LTIg/maxresdefault.jpg" alt= "MLK Speaking"></a>
  <h1 class = "center timeline">Dr.King after delivering his "I Have a Dream" Speech</h1>
      
  <h2 class = "timeline-title text-center"> Time line of Dr.King's life:</h2>
  
  <div class = "timeline test">
  <ul>
    <li><b>January 15, 1929: </b>Martin Luther King Jr. was born in Atlanta, Georgia.</li>
    <li><b>1948: </b> Martin Luther King Jr. graduates Morehouse with a Bacherlor of Arts in Sociology </li>
    <li><b>1951: </b> Martin Luther King Jr. graduates Crozer Theological Seminary with a Bacheor of Divinity Degree</li>
    <li><b>1953: </b>Martin Luther King Jr. marries Coretta Scott</li>
    <li><b>1955: </b>Martin Luther King Jr. obtains his Ph.D in systematic theology at Bostin University</li>
    <li><b>1955: </b> Dr. King boycotts Montgomery buses due to segregation laws</li>
    <li><b>1963: </b> Dr.King participates in anti-segregation protests. He gets arrested and placed in jail in Birmingham where he writes "Letter From Birmingham City Jail. Also gives "I Have a Dream" speech at the March on Washington</li>
    <li><b>1964: </b>King receives Nobe Peace Prize and congress passes Civil Rights Act of 1964 which outlawed segregation</li>
    <li><b>March 29, 1968: </b>Martin Luther King Jr. is assasinated in Memphis, Tennessee in support of a strike.</li>
    </div>
    
<iframe width="854" height="480" class="center" src="https://www.youtube.com/embed/3vDWWy4CMhE" frameborder="0" allowfullscreen></iframe>
    
    <blockquote><p class ="test2 margin-correct2"><strong><u>"The time is always right to do what is right"</strong></u></p>
    <footer class = "test2 margin-correct2"><cite class ="test2">Martin Luther King Jr.</footer></cite></blockquote>

    <h1 class = "motivation text-left margin-correct">I began this project on 1/17/17 right after I had finished the lessons on HTML, CSS and jQuery on FreeCodeCamp. Which was evidently right after Martin Luther King Jr. Day. Nonetheless, I had never coded on my own before. In fact, this web page is my very first coding project using my newly obtained html knowledge. I want to dedicate my first project to Dr. King because, he wanted to live in an all inclusive world which is something we all need to strive for especially in this day and age. Pease click on Dr. King's photo or <a href = "https://en.wikipedia.org/wiki/Martin_Luther_King_Jr." target= "_blank"> here</a> to read more about him.
  </h1>
  </div>
   <p class= "ending">Written and Coded by <a href= "https://www.linkedin.com/in/Sunny-GY-Wong"target "_blank"> Sunny Wong</p>
</div>
  </div>
              
            
!

CSS

              
                .center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    display: block
}
              
            
!

JS

              
                
              
            
!
999px

Console