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

JavaScript

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

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

              
                <p>Example of Date input type</p>
<form>
			<fieldset>
				<legend><b>Date of Birth:</b></legend>
				<p>Please, kindly type in your date of birth in the box below</p>
				<input type="date" min="2000-01-01" max="2008-12-31" required>
				<button type="submit">Submit</button>
			</fieldset>
		 </form>
<hr>

<p>Example of Datetime-loca input type</p>
<form>
			<fieldset>
				<legend><b>Date of Birth:</b></legend>
				<p>Please, kindly type in your date of birth in the box below</p>
				<input type="Datetime-local" min="2000-01-01" max="2008-12-31" required>
				<button type="submit">Submit</button>
			</fieldset>
		 </form>
<hr>

<p>Example of Month input type</p>
<div>
		  <label for="username">Username</label>
		  <input type="text" id="username" name="username">
		</div>
		<div>
		  <label for="name">Full Name</label>
		  <input type="text" name="name" id="name">
		</div>
		<div>
<label for="month">Month of Birth</label>
<input type="month" name="month" id="month" max="" min="">
</div>
<input type="submit">
<hr>

<p>Example of Time input type</p>
<form>
<label for="time">Choose Start Time: </label>
<input id="time" type="time" name="time" step="5">
		  <input type="Submit" name="Submit" value="Update">
		</form>

<hr>

<p>Example of Week input type</p>
<form>
		  <label for="week">Start Week</label>
		  <input id="week" type="week" name="week">
<input type="submit" name="">
		</form>


              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console