123

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.

            
              <h1 class="hello">Boston Celtics</h1>
<p>
<img class= "num1" src="https://upload.wikimedia.org/wikipedia/en/thumb/8/8f/Boston_Celtics.svg/243px-Boston_Celtics.svg.png">
<h1 class= "news">News</h1>
  <h2 class= "news">Kyrie Irving</h2>
  <h3 class= "news">PG Kyrie Irving will miss the playoffs. He is undergoing more surgery to remove screws in his knee.</h3>
  <h2 class= "news">Raptors Destroy Celtics</h2>
  <h3 class= "news">A tired celtics team was destroyed by the raptors. Boston had double digit turnovers. They have a pretty easy schedule, but need to win their next 4 games. Hopefully the Celtics don't have as much trouble with Toronto during the playoffs.</h3>
<form action= /submit-comment><input type="text" required placeholder="Comments">
  <button type="submit">Submit</button>
</form>
  <p>
    <h2 class= "schedule">
    <li>@ Wizards</li>
      <li>vs Nets</li>
  </h2>
  <img class= "jaylen"
src="http://i.cdn.turner.com/drp/nba/celtics/sites/default/files/jaylen_0.jpg">
<button class="btn btn-block button-primary">Like</button>
<h2 class= "roster">
    <li>Jaylen Brown</li>
    <li>Semi Ojeleye</li>
    <li>Shane Larkin</li>
    <li>Marcus Morris</li>
    <li>Marcus Smart</li>
    <li>Daniel Theis</li>
    <li>Guerschon Yabusele</li>
    <li>Terry Rozier</li>
    <li>Abdel Nader</li>
    <li>Greg Monroe</li>
    <li>Kadeem Allen</li>
    <li>Gordon Hayward</li>
    <li>Al Horford</li>
    <li>Kyrie Irving</li>
    <li>Jayson Tatum</li>
    <li>Aron Baines</li>
    <li>Jabari Bird</li>
    </li>
  </p>
  <p class= "link"> For more info, click this 
    <a href="http://www.espn.com/nba/team/_/name/bos/boston-celtics">ESPN</a> link</p>
            
          
!
            
              .hello {color: white;
  background-color: green;
  text-align: center;
  padding: 15px
}
.schedule {float: right;}
.roster {float: left;}
.num1{
  float:right;
}
h2 {color: green;}
h1 {color: green;}
h3 {color: green;
}
.jaylen{width: 750px}
.link{text-align: center;}



            
          
!
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