<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<head>
  <title>Katherine Goble Johnson Tribute Page</title>
</head>

<body id="main">
  
<h1 id="title">Katherine Goble Johnson</h1>
<p>The first African American woman to work as a NASA scientist.</p>
  
  <div id="img-div">
    <img id="image" src="https://images2.minutemediacdn.com/image/upload/c_crop,h_1349,w_2400,x_0,y_149/f_auto,q_auto,w_1100/v1554746087/shape/mentalfloss/katherine_johnson_1983_1.jpg" alt="Image of mathematician Katherine Goble Johnson">
    <figcaption id="img-caption"><a href="https://commons.wikimedia.org/wiki/File:Katherine_Johnson_1983.jpg" target="_blank">Courtesy of Wikimedia Commons</a></figcaption>
    <h2 id="tribute-info">A Timeline:</h2>
    <ul>
      <li><b>1918</b> - Born in White Sulphur Springs, West Virginia</li>
      <li><b>1939</b> - Married James Goble</li>
      <li><b>1959</b> - Remarried Jim Johnson U.S. Army Officer and Korean War Veteran</li>
      <li><b>1961</b> - Calculated the trajectory for Alan Shepard, the first American in space</li>
      <li><b>1962</b> - Verified John Glenn's navigation charts for his orbit around Earth 
      <li><b>1969</b> - Helps calculate trajectory for Apollo 11</li>
      <li><b>1986</b> - Johnson retires as an aerospace techonologist
      <li><b>2015</b> - Awarded the Presidential Medal of Freedom by President Barack Obama</li>
      <li><b>2016</b> - Langley Research Center dedicates a new 40,000 sq foot building in her honor
    </ul>
    &nbsp;
    <p>Learn more about the amazing accomplishments of <a id="tribute-link" href="https://en.wikipedia.org/wiki/Katherine_Johnson" target="_blank">Katherine G. Johnson on Wikipedia</a>.</p>
  </div>


</body>
#main {
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  font-family: sans-serif;
  width: 60%;
  background: #0b3d91;
}

h2, p, ul {
  color: white;
}

h1, a {
  color: #fc3d21;
}

h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

#image {
  display: block;
  max-width: 80%;
  margin: auto;
  border-radius: 30px;

}

#img-caption {
  text-align: center;
  padding: 10px;
}

h2, p {
  text-align: center;
}

ul {
  width: 55%;
  line-height: 2;
  margin: auto;
}


@media (max-width: 500px) {
  #main {
    width: 90%;
  }
  
  h1 {
    font-size: 12px;
  }
  
  h2 {
    font-size: 11px;
  }
  
  p, ul {
    font-size: 10px;
  }
  
  ul {
    width: 80%;

  }
  
  #image {
    width: 65%;
  }
// !! 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. 
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.