Pen Settings



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


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


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.


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.


                <div class="container">
	<h1 id="title">How Could We Improve Our Site?</h1>
	<p id="description">Please help us improve our site.</p><br><br>
	<form id="survey-form" action="">
			<label for="name" id="name-label">Name: </label>
			<input placeholder="Your Name" id="name" type="text" name="name" required>

			<label for="email" id="email-label">Email: </label>
			<input placeholder="Your Email Address" id="email" type="email" name="email" required>
			<label for="number" id="number-label">Age: </label>
			<input placeholder="Your Age" id="number" type="number" min="18" max="100" name="number" required>

		<label for="dropdown">What do you like best about our website?</label>
		<select id="dropdown" name="dropdown">
			<option value="sag">The scripts are great / useful</option>
			<option value="design">Great design</option>
			<option value="other">Other</option>
			How much do you like our website?
			<div class="radio"><input type="radio" name="hmdylow" value="rg" id="likerg"> <label for="likerg">Really good</label></div>
			<div class="radio"><input type="radio" name="hmdylow" value="okay" id="likeok"> <label for="likeok">Okay</label></div>
			<div class="radio"><input type="radio" name="hmdylow" value="nvg" id="likenvg"> <label for="likenvg">Not very good</label></div>
			<div class="radio"><input type="radio" name="hmdylow" value="hor" id="likehor"> <label for="likehor">Horrible</label></div>
		</div><br /> What do you think can be improved?<br>
		<div class="checkbox"><input type="checkbox" name="improve" value="ms" id="imms"> <label for="imms">More scripts</label></div>
		<div class="checkbox"><input type="checkbox" name="improve" value="bd" id="imbd"> <label for="imbd">Better design</label></div>
		<div class="checkbox"><input type="checkbox" name="improve" value="vw" id="imvw"> <label for="imvw">Scripts don't work very well</label></div>
		<div class="checkbox"><input type="checkbox" name="improve" value="ot" id="imot"> <label for="imot">Other</label></div><br>
			<label for="comments">Comments:</label>
			<textarea name="comments" id="comments" rows="10" cols="50"></textarea>
		<button type="submit" id="submit">Submit</button>


                @import url('');

body {
	margin: 0;
	background-color: black;
	background-size: cover;
	background-image: url(;
	font-family: "Open Sans", Roboto, Arial, Helvetica, sans-serif;
	background-attachment: fixed;

.container {
	padding: 50px;
	background: rgba(255, 255, 255, .8);
	color: black;
	border-radius: 10px;
	margin: 50px;

select {
	border: 1px solid #ccc;
	padding: 7px;
	border-radius: 10px;
	outline: none;
	transition: all .3s;
	background-color: rgba(255, 255, 255, 0.6);
	font: inherit;
	display: block;
	width: 100%;
	margin-top: 7px;
	margin-bottom: 10px;
	&:focus {
		box-shadow: 0 1px 10px #999;

button {
	padding: 8px 25px;
	background-color: blueviolet;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	color: white;
	border: none;
	transition: background-color .3s;
	&:hover {
		background-color: purple;