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.

            
               model() {
   return [{
            "film_id": "1",
            "title": "ACADEMY DINOSAUR",
            "description": "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "86",
            "rating": "PG"
        },
        {
            "film_id": "47",
            "title": "BABY HALL",
            "description": "A Boring Character Study of a A Shark And a Girl who must Outrace a Feminist in An Abandoned Mine Shaft",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "153",
            "rating": "NC-17"
        },
        {
            "film_id": "110",
            "title": "CABIN FLASH",
            "description": "A Stunning Epistle of a Boat And a Man who must Challenge a A Shark in A Baloon Factory",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "53",
            "rating": "NC-17"
        },
        {
            "film_id": "202",
            "title": "DADDY PITTSBURGH",
            "description": "A Epic Story of a A Shark And a Student who must Confront a Explorer in The Gulf of Mexico",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "161",
            "rating": "G"
        },
        {
            "film_id": "267",
            "title": "EAGLES PANKY",
            "description": "A Thoughtful Story of a Car And a Boy who must Find a A Shark in The Sahara Desert",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "140",
            "rating": "NC-17"
        },
        {
            "film_id": "299",
            "title": "FACTORY DRAGON",
            "description": "A Action-Packed Saga of a Teacher And a Frisbee who must Escape a Lumberjack in The Sahara Desert",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "144",
            "rating": "PG-13"
        },
        {
            "film_id": "345",
            "title": "GABLES METROPOLIS",
            "description": "A Fateful Display of a Cat And a Pioneer who must Challenge a Pastry Chef in A Baloon Factory",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "161",
            "rating": "PG"
        },
        {
            "film_id": "391",
            "title": "HALF OUTFIELD",
            "description": "A Epic Epistle of a Database Administrator And a Crocodile who must Face a Madman in A Jet Boat",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "146",
            "rating": "PG-13"
        },
        {
            "film_id": "447",
            "title": "ICE CROSSING",
            "description": "A Fast-Paced Tale of a Butler And a Moose who must Overcome a Pioneer in A Manhattan Penthouse",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "131",
            "rating": "R"
        },
        {
            "film_id": "473",
            "title": "JACKET FRISCO",
            "description": "A Insightful Reflection of a Womanizer And a Husband who must Conquer a Pastry Chef in A Baloon",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "181",
            "rating": "PG-13"
        },
        {
            "film_id": "493",
            "title": "KANE EXORCIST",
            "description": "A Epic Documentary of a Composer And a Robot who must Overcome a Car in Berlin",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "92",
            "rating": "R"
        },
        {
            "film_id": "505",
            "title": "LABYRINTH LEAGUE",
            "description": "A Awe-Inspiring Saga of a Composer And a Frisbee who must Succumb a Pioneer in The Sahara Desert",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "46",
            "rating": "PG-13"
        },
        {
            "film_id": "543",
            "title": "MADIGAN DORADO",
            "description": "A Astounding Character Study of a A Shark And a A Shark who must Discover a Crocodile in The Outback",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "116",
            "rating": "R"
        },
        {
            "film_id": "614",
            "title": "NAME DETECTIVE",
            "description": "A Touching Saga of a Sumo Wrestler And a Cat who must Pursue a Mad Scientist in Nigeria",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "178",
            "rating": "PG-13"
        },
        {
            "film_id": "633",
            "title": "OCTOBER SUBMARINE",
            "description": "A Taut Epistle of a Monkey And a Boy who must Confront a Husband in A Jet Boat",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "54",
            "rating": "PG-13"
        },
        {
            "film_id": "650",
            "title": "PACIFIC AMISTAD",
            "description": "A Thrilling Yarn of a Dog And a Moose who must Kill a Pastry Chef in A Manhattan Penthouse",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "144",
            "rating": "G"
        },
        {
            "film_id": "706",
            "title": "QUEEN LUKE",
            "description": "A Astounding Story of a Girl And a Boy who must Challenge a Composer in New Orleans",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "163",
            "rating": "PG"
        },
        {
            "film_id": "709",
            "title": "RACER EGG",
            "description": "A Emotional Display of a Monkey And a Waitress who must Reach a Secret Agent in California",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "147",
            "rating": "NC-17"
        },
        {
            "film_id": "755",
            "title": "SABRINA MIDNIGHT",
            "description": "A Emotional Story of a Squirrel And a Crocodile who must Succumb a Husband in The Sahara Desert",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "99",
            "rating": "PG"
        },
        {
            "film_id": "874",
            "title": "TADPOLE PARK",
            "description": "A Beautiful Tale of a Frisbee And a Moose who must Vanquish a Dog in An Abandoned Amusement Park",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "155",
            "rating": "PG"
        },
        {
            "film_id": "920",
            "title": "UNBREAKABLE KARATE",
            "description": "A Amazing Character Study of a Robot And a Student who must Chase a Robot in Australia",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "62",
            "rating": "G"
        },
        {
            "film_id": "930",
            "title": "VACATION BOONDOCK",
            "description": "A Fanciful Character Study of a Secret Agent And a Mad Scientist who must Reach a Teacher in Australia",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "145",
            "rating": "R"
        },
        {
            "film_id": "952",
            "title": "WAGON JAWS",
            "description": "A Intrepid Drama of a Moose And a Boat who must Kill a Explorer in A Manhattan Penthouse",
            "release_year": "2006",
            "rental_rate": "2.99",
            "length": "152",
            "rating": "PG"
        },
        {
            "film_id": "995",
            "title": "YENTL IDAHO",
            "description": "A Amazing Display of a Robot And a Astronaut who must Fight a Womanizer in Berlin",
            "release_year": "2006",
            "rental_rate": "4.99",
            "length": "86",
            "rating": "R"
        },
        {
            "film_id": "998",
            "title": "ZHIVAGO CORE",
            "description": "A Fateful Yarn of a Composer And a Man who must Face a Boy in The Canadian Rockies",
            "release_year": "2006",
            "rental_rate": "0.99",
            "length": "105",
            "rating": "NC-17"
        }
    ]
}
            
          
!
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