Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

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

<div id="main">
<header>
  <h1 id="title">Sister Mary Kenneth Keller</h1>
</header>
<main id="tribute-info">
  <p>
    Sister Mary Kenneth Keller was the first American to receive a PhD in Computer Science. Born in Cleveland, Ohio, 1913, she entered the Sisters of Charity of the Blessed Virgin Mary (BVM) in 1932 and professed her vows in 1940. The Catholic nun went on to make great strides in education and computation:
  </p>
  <ul>
    <li>
      1943: completed her Bachelor of Science in Mathematics at DePaul University, Chicago
    </li>
    <li>
      1953: completed her Master of Science in Mathematics and Physics, also at DePaul University
    </li>
    <li>
      1958: started working as a graduate student in the computer center at Darthmouth College, breaking its male exclusivity
    </li>
    <li>
      1963-64: contributed to the development of the <a href="https://www.wired.com/2008/05/dayintech-0501-2/" target="_blank">original Beginner's All-purpose Symbolic Instruction Code (BASIC)</a> at Darthmouth
    </li>
    <li>
      1965: completed her PhD at University of Wisconsin-Madison, becoming the <a href="https://cacm.acm.org/blogs/blog-cacm/159591-who-earned-first-computer-science-ph-d/fulltext" target="_blank">first American to earn one in Computer Science</a> 
    </li>
    <li>
      1965: founded the computer science department at Clarke College (now Clarke University), chairing it for 20 years
    </li>
    <li>
      1978: published her first computing textbook
    </li>
    <li>
      1983: published 3 more textbooks
    </li>
  </ul>
</main>
    
  <div id="img-div">
    <a title="By Randolph Lyon (www.encyclopediadubuque.org) [CC BY-SA 1.0 
 (https://creativecommons.org/licenses/by-sa/1.0
)], via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Clarke_Before_Fire.jpg" target="_blank">
      <img id="image" alt="Clarke Before Fire" src="https://upload.wikimedia.org/wikipedia/commons/4/44/Clarke_Before_Fire.jpg">
    </a>
    <p id="img-caption">Clarke College during Sr. Keller's tenure</p>
    <p id="last-p">
    Sr. Keller supported and accurately predicted the essential role of computers in expanding information access and facilitating education. She encouraged women's involvement in the field, allowing student mothers to bring their small children to class. After her death in 1985, Clarke University has honored and continued her work by supporting students through the Keller Computer Center & Information Services and the <a href="https://www.clarke.edu/admission-aid/financial-aid/scholarships/merit-scholarships-for-freshmen/" target="_blank">Keller Computer Science Scholarship</a>. Further information on her life and legacy can be found via her <a id="tribute-link" href="https://en.wikipedia.org/wiki/Mary_Kenneth_Keller" target="_blank">Wikipedia page</a>.
    </p>
  </div>
</div>

              
            
!

CSS

              
                html, body {
  background-color: lightgray;
  font-family: Verdana;
}

h1 {
  background-color: white;
  text-align: center;
  max-width: 50%;
  border-radius: 10px;
  margin: 50px auto;
  padding: 10px;
}

main {
  font-family: Courier New, sans serif;
  background-color: blue;
  color: white;
  border-radius: 5px;
  margin: 50px 100px 25px 100px;
  padding: 30px;
}

main a:link {
  color: yellow;
}

main a:visited {
  color: lightgreen;
}

p, ul {
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
}

li {
  margin: 7px;
}

#img-div {
  display: grid;
  grid-template-areas: 
    "img par"
    "cap par";
  grid-column-gap: 2%;
  justify-items: center;
  align-items: center;
  margin: 25px 75px 50px 75px;
  padding: 30px;
}

#image {
  grid-area: img;
  background-color: white;
  margin: 14px auto;
  padding: 14px;
  max-width: 100%; 
  display: block; 
  height: auto;
}

#img-caption {
  font-size: 14px;
  grid-area: cap;
  background-color: white;
  border-radius: 7px;
  padding: 10px;
}

#last-p {
  grid-area: par;
  background-color: yellow;
  text-align: justify;
  padding: 25px;
}
              
            
!

JS

              
                // !! 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. 

              
            
!
999px

Console