Skip to content

Commit

Permalink
update codes
Browse files Browse the repository at this point in the history
  • Loading branch information
latifa committed May 23, 2024
1 parent 50d2101 commit f19d7bf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 100 deletions.
44 changes: 22 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h2>Dr.Norman Borlaug</h2>
<p>The man how saved ab billion lives</p>
<div id="img-div">
<img src="tribute.jpg" alt="tribute" id="image">
<p>Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.</p>
<figcaption id="img-caption">this is a web_page</figcaption>
<p>Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.</p>
<figcaption id="img-caption">this is a web_page</figcaption>
</div>

<div class="contain">
Expand All @@ -26,38 +26,38 @@ <h3>Here's a time line of Dr. Borlaug's life:</h3>
<a href="" id="tribute-link" target="_blank">about this web_page</a>

<ul>
<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<br/>
<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<br/>
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 <br/>Conservation Corps, helping starving Americans. "I saw how food changed<br/> 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<br/> cuts. Inspired by Elvin Charles Stakman, he returns to school study under <br/>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<br/> rejected. Instead, the military asked his lab to work on waterproof glue, DDT <br/>to control malaria, disinfectants, and other applied science.</li>
<li><b>1942</b> - Receives a Ph.D. in Genetics and Plant Pathology</li>
<li><b>1944</b> - Rejects a 100% salary increase from Dupont, leaves behind his<br/>
<li><strong>1935</strong> - Has to stop school and save up more money. Works in the Civilian<br/>Conservation Corps, helping starving Americans. "I saw how food changed<br/> 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<br/>cuts. Inspired by Elvin Charles Stakman, he returns to school study under<br/>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<br/> rejected. Instead, the military asked his lab to work on waterproof glue, DDT<br/>to control malaria, disinfectants, and other applied science.</li>
<li><b>1942</b>- Receives a Ph.D. in Genetics and Plant Pathology</li>
<li><b>1944</b>- Rejects a 100% salary increase from Dupont, leaves behind his<br/>
pregnant wife, and flies to Mexico to head a new plant pathology program.<br/> Over the next 16 years, his team breeds 6,000 different strains of disease<br/>resistent wheat - including different varieties for each major climate on Earth.
</li>
<li><b>1945</b> - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
<li><b>1953</b> - crosses a short, sturdy dwarf breed of wheat with a high-yeidling <br/>American breed, creating a strain that responds well to fertilizer. It goes on to <br/>provide 95% of Mexico's wheat.</li>
<li><b>1962</b> - Visits Delhi and brings his high-yielding strains of wheat to the Indian <br/>subcontinent in time to help mitigate mass starvation due to a rapidly expanding population</li>
<li><b>1970</b> - receives the Nobel Peace Prize</li>
<li>1983 - helps seven African countries dramatically increase their maize and <br/>sorghum yields</li>
<li><b>1984</b> - becomes a distinguished professor at Texas A&M University</li>
<li><b>2005</b> - states "we will have to double the world food supply by 2050." Argues<br/>
<li><b>1945</b>-Discovers a way to grown wheat twice each season, doubling wheat yields</li>
<li><b>1953</b>- crosses a short, sturdy dwarf breed of wheat with a high-yeidling <br/>American breed, creating a strain that responds well to fertilizer. It goes on to <br/>provide 95% of Mexico's wheat.</li>
<li><b>1962</b>- Visits Delhi and brings his high-yielding strains of wheat to the Indian <br/>subcontinent in time to help mitigate mass starvation due to a rapidly expanding population</li>
<li><b>1970</b>- receives the Nobel Peace Prize</li>
<li>1983 - helps seven African countries dramatically increase their maize and<br/>sorghum yields</li>
<li><b>1984</b>- becomes a distinguished professor at Texas A&M University</li>
<li><b>2005</b>- states "we will have to double the world food supply by 2050." Argues<br/>
that genetically modified crops are the only way we can meet the demand, as<br/>
we run out of arable land. Says that GM crops are not inherently dangerous <br/>because "we've been genetically modifying plants and animals for a long<br/>time. Long before we called it science, people were selecting the best breeds."
we run out of arable land. Says that GM crops are not inherently dangerous<br/>because "we've been genetically modifying plants and animals for a long<br/>time. Long before we called it science, people were selecting the best breeds."
</li>
<li><b>2009</b> - dies at the age of 95.</li>
<li><b>2009</b>- dies at the age of 95.</li>
</ul>
</div>

<div class="mainList">
<em>"Borlaug's life and achievement are testimony to the far-reaching contribution <br/> that one man's towering intellect, persistence and scientific vision can make to<br/> human peace and progress."</em>
<br/>
<em>"Borlaug's life and achievement are testimony to the far-reaching contribution <br/>that one man's towering intellect, persistence and scientific vision can make to<br/>human peace and progress."</em>
<br/>
<em>-- Indian Prime Minister Manmohan Singh</em>

</div>
<h3>If you have time, you should read more about this incredible human being on his <a href="#"> Wikipedia entry.</a></h3>
<h3>If you have time, you should read more about this incredible human being on his<a href="#">Wikipedia entry.</a></h3>
</div>

</div>
Expand Down
83 changes: 5 additions & 78 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.container {
background-color: rgb(236, 234, 233);

/* width: 100%;*/
height: 100%;
margin: 30px 10px;
Expand All @@ -16,17 +17,6 @@
text-align: center;
}

#img-div {
background-color: white;
height: auto;
margin: 15px;
max-width: 100%;
}

img{
display: block;
}

#img-div img {
transform: translate(70px, 30px);
}
Expand All @@ -35,51 +25,21 @@ img{
margin-top: 40px;
}

#img-div{
height: outo;
max-width: 100%;
display: block;
background-color: reed;
}

.container {
background-color: rgb(236, 234, 233);
/* width: 100%;*/
height: 100%;
margin: 30px 10px;
border-radius: 10px;
}

.container h2 {
text-align: center;
padding: 30px;
font-size: 40px;
}

.container p {
text-align: center;
}

#img-div {
background-color: white;
height: auto;
margin: 15px;
max-width: 100%;
height: auto;
max-width: 100%;
display: block;
}

img {
display: block;
}

#img-div img {
transform: translate(70px, 30px);
}

#img-div p {
margin-top: 40px;
}

#image{
#image {
max-width: 100%;
display: block;
height: auto;
Expand All @@ -91,39 +51,15 @@ img {
padding: 0;
box-sizing: border-box;
}

.contain h3 {
text-align: center;
padding: 20px;
font-family: sans-serif;
}

.listItem {
display: flex;
justify-content: center;
align-items: center;
}

.listItem li {
padding: 5px 0;
}

.listItem p {
margin-top: 40px;
}

.contain .mainList {
margin-left: 290px;
margin-top: 20px;
}


* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.contain h3 {
text-align: center;
padding: 20px;
Expand All @@ -136,15 +72,6 @@ img {
align-items: center;
}

.listItem li {
padding: 5px 0;
}

.listItem p {
margin-top: 40px;
}

.contain .mainList {
margin-left: 290px;
margin-top: 20px;
}

0 comments on commit f19d7bf

Please sign in to comment.