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

              
                <script src="https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js"></script>

<div class="wrapper">
  <main id="main">
    <header>
      <h1 id="title">LeBron James</h1>
      <p>Arguably The Goat</p>
    </header>

    <div id="img-div">
      <img id="image" src="https://i.ytimg.com/vi/ri-G_APpim0/maxresdefault.jpg" alt="LeBron James">
      <figcaption id="img-caption">Lebron James</figcaption>
    </div>

    <section id="tribute-info">
      <div class="about">
        <h2>About</h2>
        <p>LeBron Raymone James (born December 30, 1984) is an American basketball player with the Cleveland Cavaliers. James first garnered national attention as the top high school basketball player in the country. With his unique combination of size,
          athleticism and court vision, he became one of the premier players in the NBA.</p>
        <p>Outside of the NBA, James has worked to help others. He established the LeBron James Family Foundation in 2004, along his mother Gloria, to help out children and single-parent families in need. Among its many programs, the organization builds
          playgrounds in economically disadvantaged areas and hosts an annual bike-a-thon.</p>
      </div>

      <div class="family">
        <h2>Family Life</h2>
        <p>On January 1, 2012, Lebron James proposed to his high school sweetheart, Savannah Brinson. The couple married in a private ceremony with about 200 guests in San Diego on September 14, 2013.</p>
        <p>James and Brinson have two sons and one daughter together. In October 2004, James welcomed his first son LeBron Jr. On June 14, 2007, Brinson gave birth to their second son, Bryce Maximus James. Their third child, daughter Zhuri James, was born
          on October 22, 2014</p>
      </div>

      <div class="achievements">
        <h2>Achievements</h2>
        <ul>
          <li>Three NBA Championships</li>
          <li>Best Box Plus/Minus in NBA History</li>
          <li>Most Playoff Win Shares</li>
          <li>Most 3-Pointers in NBA Finals</li>
          <li>Most Consecutive Points in a Playoff Game</li>
          <li>Youngest Player to Record Triple-Double</li>
          <li>Most Career Assists for a Forward</li>
          <li>Best Game 7 Playoff Scoring Average</li>
          <li>Most Playoff Win Shares</li>
        </ul>
      </div>
    </section>

    <hr>
    <footer>
      <h3>Learn more about Lebron James <a id="tribute-link" href="https://www.biography.com/people/lebron-james-399748" target="_blank">Click Here</a></h3>
      <h3>Or follow him on social media</h3>
      <ul>
        <li><a href="https://twitter.com/kingjames" target="_blank"><i class="fab fa-twitter"></i></a></li>
        <li><a href="https://www.instagram.com/kingjames/?hl=en" target="_blank"><i class="fab fa-instagram"></i></a></li>
        <li><a href="https://www.facebook.com/LeBron/" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
      </ul>
    </footer>

</div>
</main>
              
            
!

CSS

              
                
              
            
!

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