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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!-- Above is the script -->
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Serif" rel="stylesheet">
<!-- Above this line are the fonts -->
<div id="main">
  <div class="square-c">
  <h1 id="title"> Stephen Hawking </h1>
    <p style="font-size: 1.5em">Theoretical physicist, cosmologist and author</p>
    <div id="img-div">
    <img id="image" src="https://media.wired.com/photos/5aa8b4dd243cb278e24a3160/master/w_1164,c_limit/StephenHawking-95773900-web.jpg" alt="Stephen Hawkings in the documentary mini-series Into the Universe with Stephen Hawking, 2010.">
    <p id="img-caption">Stephen Hawking shooting the documentary mini-series<a href="https://www.discovery.com/tv-shows/into-the-universe-with-stephen-hawking/" target="_blank">'Into The Universe With Stephen Hawking'</a><br> in 2010 which aired on Discovery Channel.</p>
    </div>
  </div>
    <div id="tribute-info" class="timeline">
  <p style="font-size: 1.5em">Here's a timeline of Stephen Hawking's life:</p>
 <ul>
    <li><strong>1942</strong>: Born in Oxford, England.</li>
    <li><strong>1950</strong>: His father became head of the division of <a href="https://en.wikipedia.org/wiki/Parasitology"target="_blank"><em>parasitology</em></a> at the <a href="https://en.wikipedia.org/wiki/National_Institute_for_Medical_Research"target="_blank"><em>National Institute for Medical Research</em></a> so his family and him moved to St Albans, Hertfordshire. He began school in Byron House School in Highgate, London, to later blame the <a href="https://en.wikipedia.org/wiki/Progressive_education"target="_blank">"progressive methods"</a> for his failure to learn to read.</li>
    <li><strong>1958</strong>: At the age of 16 with the help of the math teacher Dikran Tahta, Hawking built a computer with recycled materials.</li>
    <li><strong>1959</strong>: Hawking was awarded a scholarship after taking the examinations and later began his university education at University College, Oxford.</li>
    <li><strong>1962</strong>: After receiving a first-class honours degree  in natural science he started his graduate work at Trinity Hall, Cambridge then arrived at the <a href="http://www.damtp.cam.ac.uk"target="_blank">Department of Applied Mathematics and Theoretical Physics (DAMTP) </a> at the University of Cambridge to do research in cosmology with Dennis Sciama as his supervisor.</li>
    <li><strong>1963</strong>: He's diagnosed with ALS, a rare form of Motor Neurone Disease, shortly after his 21st birthday.</li>
    <li><strong>1965</strong>: He won his PhD with a thesis called <a href="https://www.repository.cam.ac.uk/handle/1810/251038"target="_blank">'Properties of Expanding Universes'</a> then became, a research fellow.</a></li>
    <li><strong>1966</strong>: He wins Adams prize for his essay <a href="https://epjn.epj.org/images/stories/news/2014/10.1140--epjh--e2014-50013-6.pdf"target="_blank">'Singularities and the Geometry of Space-time'.</a></li>
    <li><strong>1969</strong>: He becomes a Fellow for Distinction in Science at Gonville & Caius college.</li>
    <li><strong>1968</strong>: Moved to the Institute of Astronomy.</li>
<li><strong>1970</strong>: Worked on the basic laws which govern the universe. With Roger Penrose he showed that Einstein's general theory of relativity implied space and time would have a beginning in the Big Bang and an end in black holes.</li>
<li><strong>1973</strong>: Moved back to DAMTP, employed as a research assistant, and published his first academic book, <a href="https://yale.learningu.org/download/2edd46dc-7ff5-4084-8161-5b5328974fa0/E2143_The%20Large-Scale%20Structure%20of%20Spacetime%20(1973)%20-%20Hawking,%20Ellis.pdf"target="_blank">'The Large Scale Structure of Space-Time'</a>, with George Ellis.</li>
<li><strong>1974</strong>: He gets elected as Fellow of the Royal Society and Sherman Fairchild Distinguished Scholar at the California Institute of Technology.</li>
<li><strong>1975</strong>: Becomes a Reader in Gravitational Physics at DAMTP.</li>
<li><strong>1977</strong>: Progresses to Professor of Gravitational Physics.</li>
<li><strong>1979-2009</strong>: Holds the position of Lucasian Professor of Mathematics.</li>
<li><strong>1982</strong>: Was awarded CBE.</li>
<li><strong>1988</strong>: Won the Wolf Foundation prize.</li>
<li><strong>1989</strong>: Was awarded Companion of Honour.</li>
<li><strong>2006</strong>: Won the Copley Medal.
</li>
<li><strong>2009</strong>: Employed as the Dennis Stanton Avery and Sally Tsui Wong-Avery Director of Research at DAMTP. Was also awarded Presidential Medal of Freedom.</li>
<li><strong>2013</strong>: Out of all the awards, medals and prizes the Fundamental Physics prize was one of the most notables.</li>
    <li><strong>2018</strong>: Dies at the age of 76 in Cambridge, England.</li>
<h4>Some of the books published by Hawking:</h4>
<ol>
  <li><a href="https://www.amazon.com/gp/product/0345535286/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=0345535286&linkCode=as2&tag=stephenhaw042-20"target="_blank">'My Brief History'</a></li>
  <li><a href="http://www.amazon.com/gp/product/055338466X/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=055338466X&linkCode=as2&tag=stephenhaw042-20"target="_blank">'The Grand Design'</a></li>
   <li><a href="http://www.amazon.com/gp/product/0345535286/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=0345535286&linkCode=as2&tag=stephenhaw042-20"target="_blank">'A Brief History of Time'</a></li>
   <li><a href="http://www.amazon.com/gp/product/0553385461/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0553385461&linkCode=as2&tag=stephenhaw042-20"target="_blank">'A Briefer History of Time'</a></li>
</ol>
</div>
<p style="font-size: 1.17em"> If you wish to read more on Stephen Hawking's life|career|achievement check his <a href="http://www.hawking.org.uk"target="_blank">Official Website</a> or his <a id="tribute-link"href="https://en.wikipedia.org/wiki/Stephen_Hawking"target="_blank">Wikipedia Entry</a>.</p>
  
  
  
</div>
              
            
!

CSS

              
                body {
  font-family: IBM Plex Serif;
  margin-top: 30px;
  text-align: center;
}
img {
  width: 75%;
  max-width: 100%;
  display:block;
  margin-left: auto;
  margin-right: auto;
}
.square-c{
  background-color: #d4e3fc;
  width: 90%;
  margin: auto;
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.timeline{
  font-size: 16px;
  line-height: 30px;
}
ul{
    list-style-type: none;
}
li{
  padding: 5px;
}
ol{
    list-style-type: none;
}
              
            
!

JS

              
                
              
            
!
999px

Console