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

+ add another resource


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


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.


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.


                <script src=""></script>
 <div id="main">

  <h1 id="title"> STEPHEN HAWKING </h1>
   <h4> The man whose body could not house his mind </h4>
  <figure id="img-div">
        <img  id="image" class="responsive center" src="" alt="Young stephen on his wheelchair">
    <figcaption id="img-caption"> <strong>Stephen Hawkings giving his speech  dring a TEDx Talk</strong> </figcaption>
  <p id="tribute-info">
    <b>Facts about Stephen Hawkings</b>
      <li> He was born 8th January <strong>1942</strong>.</li>
      <li> He was a theoretical physicist and an alumni of both the universities of Oxford and Cambridge. </li>
      <li> His popular works include: A BRIEF HISTORY OF TIME, Blackhole information paradox, Hawking Radiation amongst others. </li>
      <li> He won a couple of awards including the Albert Einstein award twice and a Breakthrough Prize in Fundamental Physics. </li>
      <li> He was diagnosed of Lou Gehrigs disease (a motor neurone disease) in <strong>1963</strong> that slowly paralyzed him over decades till he lost his speech and had to communicate through a speech communicating device. </li>
      <li> He died on 14th of March 2018 in his home peacefully. </li>
  <h4> <em>'Life would be tragic if it weren't funny'  - Stephen Hawkings</em> </h4>
  <a id="tribute-link" href="" target="_blank" class="links">To know more about Stephen Hawkings, check his Wikipedia entry.</a>


                body {
  background-color: white;
  font-family: monospace;
#title {
   text-align: center;
  font-size: 35px

#main {
   font-family: monospace;
  text-align: justify;
#img-div {
  background-color: white;
  margin: auto;
  border: 4px solid;
  position: relative;   

  text-align: center;
  line-height: 0.1;

.responsive {
  max-width: 100%;
  height: auto;

 .center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;

#img-caption {
  text-align: center

   text-align: justify

h4 {
  text-align: center;

 a:hover {
     color: blue;



                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.