Skip to content

Instantly share code, notes, and snippets.

@Gastony
Created April 29, 2020 10:01
Show Gist options
  • Save Gastony/3e5f3afc1f41ef95f86e3fb499d9c069 to your computer and use it in GitHub Desktop.
Save Gastony/3e5f3afc1f41ef95f86e3fb499d9c069 to your computer and use it in GitHub Desktop.
Nyerere: Tribute Page
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div id="main">
<div id="title">
<h1>Julius Kambarage Nyerere</h1>
<h6>First President of Tanganyika</h6>
</div>
<div id="img-div">
<figure>
<img id="image" src="https://i.ibb.co/TKfDcNq/nyerere2.gif" alt="nyerere2" border="0">
<figcaption id="img-caption">Nyerere during a state visit to Uganda in the 1980s. Below (L-R) is former Kenyan president Jomo Kenyatta, Nyerere and former Uganda president Milton Obote. Nyerere could be made saint if the Catholic Church finds him fit.</figcaption>
</figure>
</div>
<div id="tribute-info">
<h3>Here's a time line of Nyerere's life:</h3>
<ul>
<li><p><strong>1922</strong>&nbsp;-&nbsp;Born in Butiama, then in the British colony of Tanganyika</p></li>
<li><p><strong>1934</strong>&nbsp;-&nbsp;Nyerere began his education at the Native Administration School in Mwisenge, Musoma</p></li>
<li><p><strong>1942</strong>&nbsp;-&nbsp; during Nyerere's final year at Tabora, his father died; the school refused his request to return home for the funeral</p></li>
<li><p><strong>1943</strong>&nbsp;-&nbsp;Nyerere started his college education at Makerere College in the Ugandan city of Kampala</p></li>
<li><p><strong>1946</strong>&nbsp;-&nbsp; he attended the organisation's conference in Dar es Salaam, where the TAA officially declared itself committed to supporting independence for Tanganyika</p></li>
<li><p><strong>1949</strong>&nbsp;-&nbsp;He applied for funding from the Colonial Development and Welfare Scheme and was initially unsuccessful, although succeeded on his second attempt</p></li>
<li><p><strong>1949</strong>&nbsp;-&nbsp; Started his studies at the University of Edinburgh, he began with a short course in chemistry and physics and also passed Higher English in the Scottish Universities Preliminary Examination.[74] In October 1949 he was accepted for entry to study for a Master of Arts degree at the University of Edinburgh's Faculty of Arts; his was an Ordinary Degree of Master of Arts which, in contrast to common uses of the term "Master of Arts", was considered an undergraduate rather than postgraduate degree, the equivalent of a Bachelor of Arts in most English universities.</p></li>
<li><p><strong>1953</strong>&nbsp;-&nbsp; he was elected president of the Tanganyika African Association (TAA).</p></li>
<li><p><strong>1954</strong>&nbsp;-&nbsp; Nyerere, assisted by Oscar Kambona, transformed the TAA into a new political party, the Tanganyika African National Union (TANU)</p></li>
<li><p><strong>1959</strong>&nbsp;-&nbsp;Nyerere visited Edinburgh.</p></li>
<li><p><strong>1960</strong>&nbsp;-&nbsp;he attended a conference of independent African states in Addis Ababa, Ethiopia, at which he presented a paper calling for the formation of an East African Federation. He suggested that Tanganyika could delay its attainment of independence from the British Empire until neighbouring Kenya and Uganda were able to do the same.</p></li>
<li><p><strong>1961</strong>&nbsp;-&nbsp;Tanganyika gained independence, an event marked by a ceremony at National Stadium.</li>
<li><strong>1999</strong>&nbsp;-&nbsp;Dead aged 77</p></li>
</ul>
<br>
<h3>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Julius_Nyerere" target="_blank" id="tribute-link">Wikipedia entry.</a></h3>
</div>
</div>
// !! 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.
/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- 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.
img{
max-width:100%;
height:auto;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
display: block;
}
#title{
background-color:gray;
text-align:center;
padding:5px;
}
#tribute-info{
background-color:gray;
}
#img-caption{
text-align:center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment