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

              
                <main>
<head>
<body>
  <title id="title">Tribute to Henry Norman Bethune</title>
  <figure id="img-div">
        <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/e/e3/Norman_Bethune_graduation_1922.jpg" style=".image";"><figcaption id="img-caption">Henry Norman Bethune</figcaption>
  </figure>


  <header id="header">
    <h1 style="color: blue;">Henry Norman Bethune</h1>

    <main id="main">
    <div id="tribute-info">
      <h2 style="color: red;">Norman's Tribute to Medicine</h2>

      <p>One of the most highly regarded surgeons of Canada, Henry Norman Bethune's contribution in the field of Thoracic Surgery and as a social activist including his time at war on the battlefields in both Spain and China, is well-known throughout the world.</p>

      <h3>Norman's Timeline from his birth to achievements</h3>

      <li>Born March 3, 1890 in Gravenhurst, Canada</li>
      <li>Bethune's grandfather was a military surgeon and established Toronto's medical school, Upper
           Canada School of Medicine</li>
      <li>In 1909, entered the University of Toronto to study physiology and biochemistry</li>
      <li>In 1912, entered the medical school at the University of Toronto, but elected to enlist in the Royal Canadian Army Medical Corps two years later due to WWI in 1914</li>
      <li>In 1926, diagnosed with tuberculosis, though he recovered after a therapy called artificially induced pneumothorax</li>
      <li>In 1928, Norman wanted to increase his knowledge of thoracic surgery so he took training</li>
      <li>Wrote 16 papers, became a councilor of the American Assoc. for Thoracic Surgery, and designed most of the thoracic surgical instruments</li>
      <li>In 1936, he proposed a universal health care system for Canada</li>
      <li>During the Spanish Civil War, he bought equipments to learn blood typing, storage and transfusion and built a mobile transfusion vehicle</li>
      <li>The concept of a mobile transfusion vehicle was greatly admired as it could cover miles of the battlefield to tend to the wounded</li>
      <li>In 1937 at the age of 48, he aided the chinese and trained the chinese medical specialists during the Sino-Japanese War and was quickly regarded a hero</li>
      <li>He opened up a makeshift hospital in a temple on Sept. 15, 1938, but it was destroyed by the japanese</li>
      <li>The hospital was relocated and named after Bethune, Bethune International Peace Hospital, in Shijiazhuang</li>
      <li>In 1939 of October, he cut his finger performing surgery</li>
      <li>He also operated on other patients without gloves since they were not available and also he preferred it that way</li>
      <li>An abcess in his finger developed and caused sepsis, Bethune refused to have his arm amputated, and died on Nov. 12, 1939</li>
      </div>

    </main>
    <footer id="footer">
      <div>
        <a id="tribute-link" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4676399/" target="_blank">NCBI article on Henry Norman Bethune</a>
                                                                                           
              
            
!

CSS

              
                
  body {
    background-color:lightyellow;
    color: black;
    margin: 0px;
    width: 100%;
    height: 100%;
    font-size: 18px;
    }

  #header {
    position: center;
    font-size: 20px;
    font-color: blue;
  }

  .h1 {
    font-size: 18px;
    font-color: blue;
  }

  .h2{
    font-size: 16px;
    font-color: red;
  }
  
  #image {
    max-width: 180px;
    max-length: 180px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    font-style: italic;
    font-size: small;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
  }

  </style>
              
            
!

JS

              
                
              
            
!
999px

Console