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.

              body {
  background-color: #fefefe;
  color: #222222;
  font-family: 'Open Sans', sans-serif;
  padding: 50px;
.wrapper {
  max-width: 300px;
h1 {
  font-size: 18px;
  background-color: #ff015b;
  color: #37003c;
  padding: 7px;
  text-align: center;

.teams {
  list-style: none;
  padding: 0;
  margin: 0;

.team {
  border-bottom: 1px #e8e7e7 solid;
  text-align: left;
  padding: 7px 0;
              const data = [
        "name": "AFC Bournemouth",
        "logo": "",
        "manager": "Eddie Howe",
        "stadium": "Dean Court",
        "capacity": 11360
        "name": "Arsenal",
        "manager": "Arsène Wenger",
        "stadium": "Emirates Stadium",
        "capacity": 59867
        "name": "Brighton & Hove Albion",
        "manager": "Chris Hughton",
        "stadium": "Falmer Stadium",
        "capacity": 30666
        "name": "Burnley",
        "manager": "Sean Dyche",
        "stadium": "Turf Moor",
        "capacity": 21944
        "name": "Chelsea",
        "manager": "Antonio Conte",
        "stadium": "Stamford Bridge",
        "capacity": 41631
        "name": "Crystal Palace",
        "manager": "Frank de Boer",
        "stadium": "Selhurst Park",
        "capacity": 26309
        "name": "Everton",
        "manager": "Ronald Koeman",
        "stadium": "Goodison Park",
        "capacity": 39595
        "name": "Huddersfield Town",
        "manager": "David Wagner",
        "stadium": "Kirklees Stadium",
        "capacity": 24169
        "name": "Leicester City",
        "manager": "Craig Shakespeare",
        "stadium": "King Power Stadium",
        "capacity": 32273
        "name": "Liverpool",
        "manager": "Jürgen Klopp",
        "stadium": "Anfield",
        "capacity": 55017
        "name": "Manchester City",
        "manager": "Pep Guardiola",
        "stadium": "City of Manchester Stadium",
        "capacity": 53394
        "name": "Manchester United",
        "manager": "José Mourinho",
        "stadium": "Old Trafford",
        "capacity": 75643
        "name": "Newcastle United",
        "manager": "Rafael Benítez",
        "stadium": "St James' Park",
        "capacity": 52354
        "name": "Southampton",
        "manager": "Mauricio Pellegrino",
        "stadium": "St Mary's Stadium",
        "capacity": 32384
        "name": "Stoke City",
        "manager": "Mark Hughes",
        "stadium": "bet365 Stadium",
        "capacity": 30089
        "name": "Swansea City",
        "manager": "Paul Clement",
        "stadium": "Liberty Stadium",
        "capacity": 21088
        "name": "Tottenham Hotspur",
        "manager": "Mauricio Pochettino",
        "stadium": "Wembley Stadium",
        "capacity": 90000
        "name": "Watford",
        "manager": "Marco Silva",
        "stadium": "Vicarage Road",
        "capacity": 21000
        "name": "West Bromwich Albion",
        "manager": "Tony Pulis",
        "stadium": "The Hawthorns",
        "capacity": 26688
        "name": "West Ham United",
        "manager": "Slaven Bilić",
        "stadium": "London Stadium",
        "capacity": 60000

class App extends React.Component {

    render() {
      return (
        <div className="wrapper">  
          <h1>EPL Teams</h1>
          <ul className="teams">
            <li>render list of teams here</li>

    <App />,
🕑 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.