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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


  <meta charset="UTF-8">
  <title>Bootstrap Form Example</title>
  <link rel="stylesheet" href="" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
  <div class="container">
    <h1>Add an Animal!</h1>
      <div class="form-group row">
        <label for="name" class="col-3 col-form-label">Name</label>
        <input type="text" class="form-control col-9" id="name" placeholder="What's the name of the animal?">
      <div class="form-group row">
          <label for="type" class="col-3 col-form-label">Animal Type</label>
          <select class="form-control col-9" id="type">
      <div class="form-group row">
        <label for="age" class="col-3 col-form-label">Age</label>
        <input type="number" class="form-control col-9" id="age" placeholder="What's the age of the animal?" min="0" max="100" step="1" value="0">
      <div class="form-group row">
        <label for="fav-food" class="col-3 col-form-label">Favorite Food</label>
        <input type="text" class="form-control col-9" id="fav-food" placeholder="What's the favorite food of the animal?">
      <button type="submit" class="btn btn-primary">Submit</button>