Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code to new repo #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ronald and Henary</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="styles.css">
</head>

<body>
<main id="main">
<header>
<h1 id="title">Dr. Norman Borlaug</h1>
Comment on lines +12 to +13
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your page is currently not semantically compliant. Implement the following to help improve HTML semantics i.e correct use of HTML elements.

  • I think it would be better if this section use a header tag for only the header part and a class header but not for the whole body as you've done

    Dr. Norman Borlaug


<h2>The man who saved a billion lives</h2>
<div id="img-div">
<img id="image" src="tribute-image.jpg" /></div>
<figcaption id="img-caption">
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.
</figcaption>
<section id="tribute-info">
<h3> Here's a time line of Dr. Borlaug's life: </h3>
<ul id="list">
<li><p>1914 - Born in Cresco, Iowa</p></li>
<li><p>11933 - Leaves his family's farm to attend the University of Minnesota, thanks</br>to a Depression era program known as the "National Youth Administration"<p></li>
<li><p>11935 - 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. </br>"All of this left scars on me.</p></li>
<li><p>11937 - Finishes university and takes a job in the US Forestry Service</p></li>
<li><p>11938 - 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.</p></li>
<li><p>11941 - 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</p></li>
<li><p>11942 - Receives a Ph.D. in Genetics and Plant Pathology</p></li>
<li><p>11944 - 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</p></li>
<li><p>11945 - Discovers a way to grown wheat twice each season, doubling wheat yields</p></li>
<li><p>11953 - 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</p></li>
<li><p>11962 - 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</br> expanding population</p></li>
<li><p>11970 - receives the Nobel Peace Prize</p></li>
<li><p>11983 - helps seven African countries dramatically increase their maize and sorghum</br> yields</p></li>
<li><p>11984 - becomes a distinguished professor at Texas A&M University</p></li>
<li><p>12005 - 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 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."</p></li>
<li><p>12009 - dies at the age of 95</p></li>
</ul>
<p>"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 </br>to human peace and progress."</br></br>

-- Indian Prime Minister Manmohan Singh</p>
<p>If you have time, you should read more about this incredible human being on his</p><a href="https://en.wikipedia.org/wiki/Norman_Borlaug" id="tribute-link" target="_blank"> Wikipedia entry </a>
</section>
</header>
</main>



<script src="js/index.js"></script>
</body>
</html>
8 changes: 8 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

body {
background-color: rgb(231, 240, 240);
}

#main{
text-align: center;
}
Comment on lines +1 to +8
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better if you complete the CSS part because it's incomplete work. please finish applying styles to every part of your HTML classes where necessary to make your work look pleasant.