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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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

<!-- 

Hello Camper!

For now, the test suite only works in Chrome! 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 

-->
<div id="main">
  <h1 id="title">Mike Krzyzewski</h1>
    <div id="img-div">
      <img id="image" src="https://snworksceo.imgix.net/dtc/a142ab82-de4e-443d-9c66-94dd0eb4cd0b.sized-1000x1000.jpg"></img>  
  <div id="img-caption">Mike Krzyzewski. Cameron Indoor Stadium. 2018.</div>
  <div id="tribute-info">
    Duke Basketball and United States National Head Coach Mike Krzyzewski cannot be defined solely by those accolades reserved for a highly successful sports coach. Indeed, Krzyzewski, entering his 36th season at Duke, has led the Blue Devils to numerous winning seasons, coached players who have produced superb graduation rates and crafted a tremendous on-court legacy. However, the Hall of Famer also sets the bar as a humanitarian of sport, an ambassador of education, a coach, a teacher, a friend, a family man, a leader and a motivator. While fans worldwide know the three-time national champion as “Coach K,” his three daughters call him their “hero”, his players regard him as a father figure and his coaching staff and close friends consider him the ideal mentor. In a single word, Mike Krzyzewski is superlative.
    <ul>
      <li>Five-time NCAA Champion – 1991, 1992, 2001, 2010, 2015</li>
      <li>Five-time Olympic Gold Medal winner – 1984, 1992 (assistant coach); 2008, 2012, 2016 (head coach)</li>
      <li>Three-time Naismith College Coach of the Year – 1989, 1992, 1999</li>
      <li>Two-time Naismith Memorial Basketball Hall of Fame inductee – 2001 (individual career), 2010 (with the "Dream Team")</li>
      <li>Five-time ACC Coach of the Year – 1984, 1986, 1997, 1999, 2000</li>
      <li>2011: Sports Illustrated "Sportsman of the Year"</li>
    </ul> </div>
  <a id="tribute-link" href="https://en.wikipedia.org/wiki/Mike_Krzyzewski" target="_blank">Source: Wikipedia</a></>
  </div>



</div>
            
          
!
            
              #main{
  background-color: #001A57;
  padding: 20px;
}

#title {
  font-family: Garamond;
  font-size: 50px;
  color: white;
  text-align: center;
}

#image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#img-caption{
  font-family: Interstate, Arial;
  font-size: 9px;
  color: white;
  padding: 5px;
}

#tribute-info {
  color: white;
}

#tribute-link{
  color: white;
  font-size: 9px;
}
            
          
!
            
              // !! 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
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console