Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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 id="main">
  <title id="title">
    Dr. Norman Borlaug
  </title>
  <div class="topic">
  <h1> Dr. Norman Borlaug<h1>
    <h3>The man who saved a billion lives</h3></div>
  <div id="img-div">
    <img id="image" src="https://cdn.britannica.com/50/136250-050-E1680FC7/Norman-Borlaug-1970.jpg"><figcaption id="img-caption">Dr. Norman Bourlang</figcaption></div><div>
    <article id="tribute-info"><strong>Here's a time line of Dr. Borlaug's life:</strong>
    <ul id="life">
      <li><strong>1914</strong> - Born in Cresco, Iowa</li>
      <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>
      <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>
      <li><strong>1937</strong> - Finishes university and takes a job in the US Forestry Service </li>
      <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>
      <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>
      <li><strong>1942</strong> - Receives a Ph.D. in Genetics and Plant Pathology.</li>
      <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>
      <li><strong>1945</strong> - Discovers a way to grown wheat twice each season, doubling wheat yields.</li>
      <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>
      <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>
      <li> <strong>1970</strong> - receives the Nobel Peace Prize</li>
      </ul>
  <foooter><p>If you have time, you should read more about this incredible human being on his<a id="tribute-link" href="https://en.wikipedia.org/wiki/Norman_Borlaug" target="_blank"> Wikipedia entry.</a></footer>
    </article>
  </div>
</main>
              
            
!

CSS

              
                body {
  background: gray
}

#image {
  max-width: 50%;
  margin: 1px auto;
  display: block;
  positio
}

#tribute-info {
  line-height: 1.6em;
  text-align: center;
  background: gray;
}

footer {
  text-align: center;
}

.topic {
  text-align: center;
}

#life {
  text-align: center;
}

#img-caption {
  text-align: center;
  margin: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console