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

              
                <!-- **** Basic Grid Layout ****-->
<main>	
	<div class="container">
		<div class="row">
			<div class="col s12">
				<h3>Sign up for Cultural Events</h3>
			</div>
		</div>
		<div class="row">
			<form class="col s12">
				<div class="row">
					<div class="input-field col s6">
						<input  id="first_name" type="text" class="validate">
						<label for="first_name">First Name</label>
					</div>
					<div class="input-field col s6">
						<input id="last_name" type="text" class="validate">
						<label for="last_name">Last Name</label>
					</div>
				</div>
				
				<div class="row">
					<div class="input-field col s6">
						<input id="email" type="email" class="validate">
						<label for="email" data-error="Enter a valid email" data-success="Thank you">Email</label>
					</div>
				
					<div class="input-field col s6">
						<select>
							<option value="" disabled selected>Choose your Event</option>
							<option value="1">Art Class</option>
							<option value="2">Art Appreciation</option>
							<option value="3">Music Appreciation</option>
						</select>
						<label>Event</label>
					</div>
				</div>
				<div class="row">  
					<div class="input-field col s12">
						<textarea id="comments" class="materialize-textarea"></textarea>
						<label for="comments">Comments or Questions</label>
					</div>
				</div>
			
			</form>
		</div>	
	
	</div>      
</main>	
              
            
!

CSS

              
                
              
            
!

JS

              
                $(document).ready(function() {
			$('select').material_select();
  		});
              
            
!
999px

Console