css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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> -->

<main id="main">
  <title id="title">
    Wayne Gretzky
  <header id="header">
    <h1>Wayne Gretzky</h1>
    <h3>The Great One</h3>
  <div id="img-div">
    <img id="image" src= "http://cdn.quotesgram.com/img/44/69/328570096-wayne-gretzky-stanley-cup-53173213-compressor.jpg" alt="Wayne Gretsky lifting the Stanley Cup over his head">
    <blockquote id="img-caption">
      <p>"You miss 100 percent of the shots you never take"</p>
      <cite>-Wayne Gretzky</cite>
  <section id="tribute-info">
    <ul id="timeline">
      <h3>Career Timeline</h3>
       <li><strong>May 1978</strong> Wayne Gretzky signs with Indianapolis Racers</li>
          <li><strong>Nov 1978</strong> Indianapolis Racers trade Wayne Gretzky to Edmonton Oilers</li>
          <li><strong>Oct 10 1979</strong> Wayne Gretzky scores first point in NHL debut</li>
          <li><strong>1980</strong> Wayne Gretzky wins League MVP in first NHL season</li>
          <li><strong>1981 to 1982</strong> Wayne Gretzky becomes first player to score 200 points</li>
          <li><strong>May 19 1984</strong> Edmonton Oilers in Stanley Cup (Wayne's first of four)</li>
          <li><strong>August 9 1988</strong> Wayne Gretzky is traded to the Los Angeles Kings</li>
          <li><strong>Feb 27 1996</strong> Wayne Gretzky is traded to the St. Louis Blues</li>
          <li><strong>Jul 21 1996</strong> Wayne Gretzky signs with the New York Rangers</li>
          <li><strong>Apr 18 1999</strong> Wayne Gretzky plays final NHL game</li>
          <li><strong>Nov 22 1999</strong> Wayne Gretzky is Inducted into the Hockey Hall of Fame</li>
    <ul id="records">
      <h3>Notable Records</h3>
      <li>Most Goals - 894 in 1,485 games </li>
          <li>Most Goals, One Season - 92</li>
          <li>Most Assists - 1,962 in 1,485 games</li>
          <li>Most Points - 2,856 in 1,485 games.</li>
          <li>Most Points in One Season - 215</li>
          <li>Most 100 or more Point Seasons - 15</li>
          <li>Most Three Goal Games in One Season - 10 (done twice)</li>
          <li>Longest Consecutive Point Scoring Streak - 51 games</li>
          <li>Most Career Playoff Points - 382</li>
          <li>Most Points, One Playoff Year - 47</li>
          <li>Most points in Final series - 13</li>
          <li>Most Playoff Game-Winning Goals - 24</li>
  <footer id="footer"><p>For more information about Wayne Gretzky visit his<a id="tribute-link"target="_blank"href="https://en.wikipedia.org/wiki/Wayne_Gretzky"> Wikipedia</a> page</p></footer>
  box-sizing: border-box;

  background-color: #092e92;
  background-image: linear-gradient(0deg, #333, #092e92);
  font-family: Arial, sans-serif;

  width: 80%;
  border-radius: 20px;

  padding:.2em 0 0 0;
  margin-top: 1.5em;

  display: block;
  margin: auto;
  height: auto;
  border-radius: 20px;
  padding: .5em;

  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  justify-items: center;

  grid-column: 1 / 2;

  grid-column: 2 / 3;

  text-align: center;
  padding-bottom: 1em;

@media(max-width: 500px){

🕑 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.
Loading ..................