FCC - Build a Tribute Page - 2017 (Responsive)

In this example below you will see how to do a FCC - Build a Tribute Page - 2017 (Responsive) with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by Gaben14, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Gaben14 ©

Technologies

  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>FCC - Build a Tribute Page - 2017 (Responsive)</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <link href="https://fonts.googleapis.com/css?family=Lato|Open+Sans|Oswald" rel="stylesheet">

<div class="container">
  <div class="main-container">
  <header class="header text-center">
    <h1>Dr. Norman Borlaug</h1>
    <h2><em>The man who saved a billion lives</em></h2>
  </header>
  <section class="thumbnail text-center">
    <img src="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" alt="Dr. Norman Borlaug trains Mexican biologists">
  <p>Dr. Norman Borlaug, third from left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.</p>
  </section>
  <section class="about">
    <h3 class="text-center">Here's a time line of Dr. Borlaug's life:</h3>
    <div class="time-line">
      <ul>
        <li><span class="bold">1914</span> - Born in Cresco, Iowa</li>
        <li><span class="bold">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="bold">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="bold">1937</span> - Finishes university and takes a job in the US Forestry Service</li>
        <li><span class="bold">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 </li>
        <li><span class="bold">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="bold">1942</span> - Receives a Ph.D. in Genetics and Plant Pathology</li>
        <li><span class="bold">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="bold">1945</span> - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
        <li><span class="bold">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="bold">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="bold">1970</span> - receives the Nobel Peace Prize</li>
        <li><span class="bold">1983</span> - helps seven African countries dramatically increase their maize and sorghum yields</li>
        <li><span class="bold">1984</span> - becomes a distinguished professor at Texas A&M University</li>
        <li><span class="bold"></span>2005 - 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="bold"></span>2009 - dies at the age of 95.</li>
      </ul>
      <blockquote>
        <p>"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."</p>
        <footer>--- Indian Prime Minister Manmohan Singh</footer>
      </blockquote>
   </div>
    <h4 class="text-center">If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Norman_Borlaug">Wikipedia entry.</a></h4>
  </section>
</div>
  <footer>
    <hr>
    <p class="text-center">Written and coded by <a href="https://www.freecodecamp.com/quincylarson">Quincy Larson</a>. Recoded by: Gabor Zorad</p>
  </footer>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/Gaben14/fcc-build-a-tribute-page-2017-responsive-vJvQGO */
body{
  font-family: 'Lato', 'Open Sans', 'Oswald', Tahoma, Sans-Serif;
}
.container{
  width: 66%;
  margin: 60px auto;
}
.main-container{
  padding-top: 75px;
  padding-bottom: 30px;
  background-color: #EEEEEE;
  border-radius: 10px;
  margin-bottom: 30px;
}
.text-center{
  text-align: center;
}
.thumbnail{
  diplay: block;
  background-color: #FFFFFF;
  border-radius: 5px;
  padding: 4px;
  line-height: 1.42857143;
  width: 80%;
  margin: 0 auto 20px;
  border: 1px solid #ddd;
}

.thumbnail img{
  width: 100%;
}
.bold{
  font-weight: bold;
}
.time-line{
  width: 60%;
  margin: 0 auto;
}

blockquote footer{
  font-style: italic;
  color: #777;
  font-size: 80%;
}

footer{
  font-size: 14px;
}
footer hr{
  border-top: 1px solid #eee;
}

Comments