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

              
                <head>
	<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
<style>
</style> 
</head> 

<div id="main">
	<h1 id="title">Survey Form</h1>
	<p id="description">Fill out here.</p>
	<form id="survey-form">
		<label id="name-label" for="name">Name:</label>
		<input class="u-full-width" type="text" id="name" name="name" placeholder="Namey McNameson" required>
		<label id="email-label" for="email">Email:</label>
		<input class="u-full-width" type="email" id="email" name="email" placeholder="namey@mcnameson.com" required>
		<label id="number-label" for="number">Number of Kittens:</label>
		<input class="u-full-width" type="number" id="number" name="number" min="1" max="100" placeholder="96">
		<label for="dropdown">Type of Kitten:</label>
		<select class="u-full-width" id="dropdown" name="dropdown">
			<option value="zzz">Cute</option>
			<option value="zzz">Cuddly</option>
			<option value="zzz">Cryptic</option>
		</select>
		<label for="radio">Size of Kitten:</label>
		<input type="radio" name="radio" value="1">Small<br>
		<input type="radio" name="radio" value="2">Large<br>
		<input type="radio" name="radio" value="3">Mysterious<br>

		<label for="checkbox">Color of Kitten:</label>
		<input type="checkbox" name="check" value="1">Black<br>
		<input type="checkbox" name="check" value="2">White<br>
		<input type="checkbox" name="check" value="3">Translucent<br>
		
		<label for="textbox">Kitten Notes:</label>
		<textarea name="textbox" class="u-full-width"></textarea> 
		<input type="submit" id="submit" name="submit" value="submit">
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

// BE SURE TO SELECT THE CORRECT TEST SUITE FROM THE DROPDOWN MENU!!! :-) 

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console