Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" onload="onLoad()"></iframe>
<form action="https://docs.google.com/forms/d/e/1FAIpQLSceGH-8qVhFB5Ioa7MuRaop5nOz5MHZkCPYBUTK9e-ZkkXnwg/formResponse" method="post" target="hidden_iframe" onsubmit="submitted=true" >
        <div>
            <label for="inline">記述式の質問(1行)</label>
            <input type="inline" name="entry.XXXXXX">
        </div>
        <div>
            <label for="context">記述式の質問(段落)</label>
            <textarea id="context" name="entry.XXXXXX"></textarea>
        </div>
        <div>
            <label for="radio">ラジオボタン選択式</label>
            <input type="radio" name="entry.XXXXXX" value="犬">犬
            <input type="radio" name="entry.XXXXXX" value="猫">猫
            <input type="radio" name="entry.XXXXXX" value="ウーパールーパー">ウーパールーパー
            <input type="radio" name="entry.XXXXXX" value="その他">その他
        </div>
        <div>
            <label for="checkbox">チェックボックス式</label>
            <input type="checkbox" name="entry.XXXXXX" value="大阪">大阪
            <input type="checkbox" name="entry.XXXXXX" value="兵庫">兵庫
            <input type="checkbox" name="entry.XXXXXX" value="京都">京都
            <input type="checkbox" name="entry.XXXXXX" value="奈良">奈良
            <input type="checkbox" name="entry.XXXXXX" value="和歌山">和歌山
            <input type="checkbox" name="entry.XXXXXX" value="滋賀">滋賀
        </div>
        <div>
            <input type="submit" value="送信する">
        </div>
    </form>
    <p id="success" style="display: none">送信が完了しました。お問い合わせ、ありがとうございました。</p>
              
            
!

CSS

              
                
              
            
!

JS

              
                var submitted=false;
function onLoad() {
  $('form')[0].reset();
  if (submitted) {
    $('#success').show();
  } else {
    $('#success').hide();
  }
}
              
            
!
999px

Console