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


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


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.


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.


                <div id="root"></div>


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