Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <h2>イベント申し込みフォーム</h2>
<fieldset>
  <legend>個人情報を入力</legend>
  お名前:<input type="text" name="last-name" placeholder="姓" class="name"><input type="text" name="first-name" placeholder="名" class="name"><br>
  性別:<input type="radio" value="male" name="sex">男
  <input type="radio" value="female" name="sex">女<br>
  生年月日:<select name="month">
<option value="">-</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select> 月
  <select name="day">
<option value="">-</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> 日
</fieldset>


<fieldset>
  <legend>参加希望日時を選択</legend>
 第一希望:<input type="radio" name="first" value="one">12月21日
  <input type="radio" name="first" value="second">12月22日
  <input type="radio" name="first" value="third">12月23日<br>
 第二希望:<input type="radio" name="second" value="one">12月21日
  <input type="radio" name="second" value="second">12月22日
  <input type="radio" name="second" value="third">12月23日<br>
 第三希望:<input type="radio" name="third" value="one">12月21日
  <input type="radio" name="third" value="second">12月22日
  <input type="radio" name="third" value="third">12月23日<br>
</fieldset>
              
            
!

CSS

              
                .name {
  width: 60px;
  margin-right: 10px;
}

input {
  margin: 8px;
}
              
            
!

JS

              
                
              
            
!
999px

Console