Pen Settings



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


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.


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.


  <main id="main">
    <div id="title">
      <h1>Dr. Norman Borlaug</h1>
      <p>An amazing man, a real savior.</p>
    <div id="img-div">
        <img id="image" src="" alt="Dr. Norman Borlaug">
        <figcaption id="img-caption">Dr. Norman Borlaug and his team</figcaption>
    <div id="tribute-info">
      <p>Here is a summary of Dr. Borlaug's life:</p>
          <li><span class="date">1914</span> - Born in Cresco, Iowa</li>
          <li><span class="date">1933</span> - 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><span class="date">1935</span> - 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><span class="date">1937</span> - Finishes university and takes a job in the US Forestry Service</li>
          <li><span class="date">1938</span> - 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><span class="date">1941</span> - 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, disenfectants, and other applied science.</li>
          <li><span class="date">1942</span> - Receives a Ph.D. in Genetics and Plant Pathology</li>
          <li><span class="date">1944</span> - 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><span class="date">1945</span> - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
          <li><span class="date">1953</span> - crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertalizer. It goes on to provide 95% of Mexico's wheat.</li>
          <li><span class="date">1962</span> - 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><span class="date">1970</span> - receives the Nobel Peace Prize</li>
          <li><span class="date">1983</span> - helps seven African countries dramatically increase their maize and sorghum yields</li>
          <li><span class="date">1984</span> - becomes a distinguished professor at Texas A&M University</li>
          <li><span class="date">2005</span> - 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>
          <li><span class="date">2009</span> - dies at the age of 95.</li>
      <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>
        -- Indian Prime Minister Manmohan Singh</em></p>
    <p>For more information about this amazing man, you can check his <a id="tribute-link" href="" target="_blank">Wikipedia page</a>!</p>


                * {
  font-family: "Open Sans", sans-serif;

body {
  width: 98vw;
  height: auto;

#main {
  display: flex;
  flex-direction: column;

#title {
  background: #04B404;
  color: #FFFFFF;
  text-align: center;
  height: 80px;
  padding: 35px;

#img-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

#img-caption {
  background: #04B404;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;

#tribute-info {
  font-size: 16px;
  margin: 25px;

ul {
  list-style: none;

li::before {
  content: "• "; 
  font-size: 20px;
  font-weight: bold;
  color: #04B404;

.date {
  color: #04B404;
  font-weight: bold;

#tribute-info > p:last-child {
  margin-top: 30px;
  text-align: center;
  color: #04B404;

#tribute-link {
  text-align: center;
  font-size: 18px;
  color: #04B404;
  font-weight: bold;

@media (max-width: 640px) {
  #body {
    width: 97vw;
  #tribute-info {
    margin: 15px;
  #image {
    width: 99%;


                // !! 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.