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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


                <h2>1. In <em>BMO Lost</em>, who is BMO’s best friend and traveling companion?</h2>
<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> A soap bubble
<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> A glove
<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> A blade of grass
<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="option4"> A sword


                body {
  font-family: Arial, sans-serif;
  color: #7cd;
  background-color: #333;

h2 {
  font-size: 32px;

.radio-inline {
  font-size: 28px;
  margin-right: 20px

.radio-inline input[type="radio"] {
  margin: 10px 5px 5px 10px;

.radio-inline input[type="radio"]:before {
  content: "";
  background-color: #fff;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-top: -10px;
  margin-left: -5px;
  /* clip-path: circle(10px); - you could use this, but then you couldn't use a border. note that the radius is half the overall height/width. */
  border-radius: 12px;
  /* = height (or width) divided by 2, plus border */
  border: 2px solid #000;

.radio-inline input[type="radio"]:hover:before {
  background-color: #c1e3ff;

.radio-inline input[type="radio"]:checked:before {
  background-color: #42a4f4;