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

              
                <!DOCTYPE html>
<html lang="en">
<html>
  <head>
    <title>Dr. Norman Borlaug</title>
    <style>
      #main {
        background-color: #c5d4d1;
      }
      #title{
        display: block; 
        text-align: center;
        font-family: monospace; 
        background-color: #ebf5f3;
        border-style: solid;
        height: 100px;
        width: 700px;
        margin: auto;
      }
      #img-div{
       margin: auto;
       text-align: center;
      }
      #image{ 
        display: block;
        max-width: 600px;
        padding: 10px;
        margin: auto;
      }
      #img-caption{
      padding: 0px 0px 10px 0px
      }
      #tribute-title{
        text-align: center;
        padding: 50px;
        margin: 10px;
        font-family: monospace;
        margin: auto;
      }
      #tribute-info{
        padding: 20px 100px 20px 100px;
        margin: auto;
        border-style: solid;
        }
      #tribute-link{
        text-align: center;
        margin: 50px;
      }
      #bulletpoints{
        padding: 20px 250px 20px 250px;
      }
      #quote{
        border-style: solid;
        padding: 10px 100px 10px 100px;
        margin: 0px 150px 0px 150px; 
      }
      #more-info{
        padding: 10px;
        text-align: center;
        margin: auto;
      }
    </style>
  </head>
  
  <body id="main">
    
    <div id="title">
    <h1>Dr. Norman Borlaug</h1>
    <h2><em>The Man Who Saved a Billion Lives.</em></h2>
    </div> 
    
    <div id="img-div">
    <img id="image" src="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" alt="Dr. Norman Borlaug seen standing in Mexican wheat field with a group of biologists">
      <div id="img-caption"><em>Dr. Borlaug inspecting wheat in Mexico with fellow biologists.</em></div>
    </div>
    <div id="tribute-info" style="background-color: #ebf5f3">
      <main>
        <div id="tribute-title">
        <h2>Here's a timeline of Dr. Borlaug's life:</h2>
        </div>
        <div id="bulletpoints">
        <ul>
          <li><strong>1914:</strong> Born in Cresco, Iowa.</li>
          <br>
           <li><strong>1933:</strong>Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration" </li>
          <br>
           <li><strong>1935:</strong> Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me." </li>
          <br>
           <li><strong>1937:</strong> Finishes university and takes a job in the US Forestry Service
</li>
          <br>
           <li><strong>1938:</strong> Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants. </li>
          <br>
           <li><strong>1941:</strong> Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science. </li>
          <br>
           <li><strong>1942:</strong> Receives a Ph.D. in Genetics and Plant Pathology </li>
          <br>
           <li><strong>1944:</strong> Rejects a 100% salary increase from Dupont, leaves behind his pregnant wife, and flies to Mexico to head a new plant pathology program. Over the next 16 years, his team breeds 6,000 different strains of disease resistent wheat - including different varieties for each major climate on Earth. </li>
          <br>
           <li><strong>1945:</strong> Discovers a way to grown wheat twice each season, doubling wheat </li>
          <br>
           <li><strong>1953:</strong> Crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertilizer. It goes on to provide 95% of Mexico's wheat. </li>
          <br>
           <li><strong>1962:</strong> Visits Delhi and brings his high-yielding strains of wheat to the Indian subcontinent in time to help mitigate mass starvation due to a rapidly expanding population </li>
          <br>
           <li><strong>1970:</strong> Receives the Nobel Peace Prize</li>
          <br>
           <li><strong>1983:</strong> Helps seven African countries dramatically increase their maize and sorghum yields </li>
          <br>
           <li><strong>1984:</strong> Becomes a distinguished professor at Texas A&M University </li>
          <br>
          <li><strong>2005:</strong> States "we will have to double the world food supply by 2050." Argues that genetically modified crops are the only way we can meet the demand, as we run out of arable land. Says that GM crops are not inherently dangerous because "we've been genetically modifying plants and animals for a long time. Long before we called it science, people were selecting the best breeds." </li>
          <br>
          <li><strong>2009:</strong> Dies at the age of 95.</li>
        </ul>
        </div>
        <div id="quote">
      <p><em>"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress." 
      <br>
      <br>
        -- Indian Prime Minister Manmohan Singh </em></></p></div>
        
        <div id="more-info"><em>
          If you have time, you should read more about this incredible human being on
          <br>
          <a id="tribute-link" target="_blank" href="https://en.wikipedia.org/wiki/Norman_Borlaug">his Wikipedia entry.</em></>
        </div>
      </main>
  </body>
  </html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console