Pen Settings



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


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


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.


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.



Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

<main id="main">
  <h1 id="title">Lupita Nyong'o</h1>
  <div id="img-div">
    <img id="image" src=""
      alt="Nyong'o at the 2019 South by Southwest"/>
    <figcaption id="img-caption">
      Lupita Nyong'o at the 2019 South by Southwest, an annual conglomeration of parallel film, interactive media, and music festivals and conferences organized jointly that take place in mid-March in Austin, Texas.
    <section id="tribute-info">
      <h3>Here's a Timeline of Lupita Nyong'o's Life:</h3>
        <li><b>1983</b>- born on 1 March in Mexico City</li>
        <li><b>1997</b>- At age 14, Nyong'o made her professional acting debut as Juliet in Romeo and Juliet</li>
        <li><b>2008</b>- Nyong'o starred in the short film East River</li>
        <li><b>2010</b>- Nyong'o enrolled in a master's degree program in acting at the Yale School of Drama.</li>
        <li><b>2013</b>- Immediately after graduating from Yale, Nyong'o landed her breakthrough role when she was cast for Steve McQueen's historical drama 12 Years a Slave.</li>
        <li><b>2016</b>- Nyong'o co-starred in Jon Favreau's The Jungle Book </li>
        <li><b>2018</b>- starred as spy Nakia in Ryan Coogler's superhero film Black Panther</li>
        <li><b>2019</b>- South by Southwest marked the premiere of her next release, Jordan Peele's psychological horror film Us.</li>
        <li><b>2021</b>- Nyong’o partnered with Nairobi-based media and tech startup Kukua in support of YouTube Originals' STEM-themed, Super Sema (2021), which became Africa’s first kid superhero animated series.</li>
      <h3>If you have time, you should read more about this incredible human being on her <a id="tribute-link" target="_blank" href="">Wikipedia entry</a></h3>


                body {
  font-family: system-ui;
  background: #d3d3d3 ;
  color: black;
  text-align: center;

#img-div {
   background: white;
   text-align: center;

ul {
    text-align: left;
    list-style-position: inside;
    margin-left: 400px;
    margin-right: 400px;

  margin: 10px;

img {
   max-width: 100%;
   display: block;



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

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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. 
document.getElementsByTagName("h1")[0].style.fontSize = "6vw";