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

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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<main id="main">

<h1 id="title">Survey: Template Feedback </h1>

<form id="survey-form">

<p id="description">This is supposed to be quick survey to collect information from users of what they think about this template. Note that this is just a test page, we actually don't collect or store any information through this form in any way.</p>

<div>
		<label id="name-label" for="name">Name:
			<input id="name" type="text" placeholder="Enter your name" required>
		</label>
</div>

<div>
		<label id="email-label" for="email">Email:
		<input id="email" type="email" placeholder="Enter your email" required>
		</label>
</div>

<div>
	<h2>Which option best describes your current role?</h2>
		<select name="dropdown" id="dropdown">
			<option value="AM">Administrative / Management</option>
			<option value="AMC">Advertising / Marketing / Communications</option>
			<option value="CBE">Construction / Building Trades / Engineering</option>
			<option value="CD">Creative Arts / Design</option>
			<option value="ERA">Education / Research / Academia</option>
			<option value="FS">Financial Services</option>
			<option value="FH">Food and Hospitality Services</option>
			<option value="HM">Healthcare / Medical Research</option>
			<option value="HC">Human Resources / Consulting</option>
			<option value="IT">Information Technology (IT)</option>
			<option value="LGN">Legal Services / Government / Non-Profit</option>
			<option value="PS">Personal Services</option>
			<option value="RC">Retail Sales / Customer Service</option>
			<option value="TRNS">Transportation</option>
			<option value="no">I prefer not to say</option>
			<option value="other">Other</option>
		</select>
</div>

<div>
	<h2>How well organized this template is?</h2>
	<div class="labels"><label for="organized1">Extremely organized</label></div>
	<div class="names"><input id="organized1" type="radio" name="organized" value="Extremely organized"></div>
	<div class="labels"><label for="organized2">Very organized</label></div>
	<div class="names"><input id="organized2" type="radio" name="organized" value="Very organized"></div>
	<div class="labels"><label for="organized3">Somewhat organized</label></div>
	<div class="names"><input id="organized3" type="radio" name="organized" value="Somewhat organized"></div>
	<div class="labels"><label for="organized4">Not at all organized</label></div>
	<div class="names"><input id="organized4" type="radio" name="organized" value="Not at all organized"></div>
	<div style="clear: both;"></div>
</div>


<div>
	<h2>How easy was to navigate through this page?</h2>

	<div class="labels"><label for="easy1">Extremely easy</label></div>
	<div class="names"><input name="easy" id="easy1" type="radio" value="Extremely easy"></div>
	<div class="labels"><label for="easy2">Very easy</label></div>
	<div class="names"><input name="easy" id="easy2" type="radio" value="Very easy"></div>
	<div class="labels"><label for="easy3">Somewhat easy</label></div>
	<div class="names"><input name="easy" id="easy3" type="radio" value="Somewhat easy"></div>

	<div class="labels"><label for="easy4">Not at all easy</label></div>
	<div class="names" ><input name ="easy" id="easy4" type="radio" value="Not at all easy"></div>

	<div style="clear: both;"></div>
</div>


<div>
	<h2>How visually appealing is this page?</h2>
			
	<div class="labels"><label for="appealing1">Extremely appealing</label></div>
	<div class="names"><input id="appealing1" type="radio" name="appealing" value="Extremely appealing"></div>
	<div class="labels"><label for="appealing2">Very appealing</label></div>
	<div class="names"><input id="appealing2" type="radio" name="appealing" value="Very appealing"></div>
	<div class="labels"><label for="appealing3">Somewhat appealing</label></div>
	<div class="names"><input id="appealing3" type="radio" name="appealing" value="Somewhat appealing"></div>
	<div class="labels"><label for="appealing4">Not appealing at all</label></div>
	<div class="names"><input id="appealing4" type="radio" name="appealing" value="Not appealing at all"></div>	
	<div style="clear: both;"></div>
</div>

<div>
	<h2>What languages would you have to use if you had to create a survey page like this?</h2>

	<div class="labels"><label for="html">HTML</label></div>
	<div class="names"><input id="html" type="checkbox" value="html" name="lang"></div>
	<div class="labels"><label for="css">CSS</label></div>
	<div class="names"><input id="css" type="checkbox" value="css" name="lang"></div>
	<div class="labels"><label  for="javascript">JavaScript</label></div>
	<div class="names"><input id="javascript" type="checkbox" value="javascript"name="lang"></div>
	<div class="labels"><label for="php">PHP</label></div>
	<div class="names"><input id="php" type="checkbox" value="php" name="lang"></div>
	<div class="labels"><label for="others">Others</label></div>
	<div class="names"><input id="others" type="checkbox" value="others" name="lang"></div>
	<div style="clear: both;"></div>
</div>

<div>
	<h2>How likely is it that you will recommend this template to your friends or colleagues?</h2>
			
	<div class="labels"><label id="number-label" for="number">Rate the template between 1 and 10: </label></div>
	<div class="names"><input id="number" type="number" placeholder="Enter a number" min="1" max="10"></div>		
	<div style="clear: both;"></div>
</div>

<div>
<h2>Would you like to add something?</h2>
		<textarea name="" id="" cols="60" rows="10" placeholder="Enter your text here..."></textarea>
</div>

<button id="submit" type="submit">Submit</button>

  <div id='madeby'>Page made by: <a href="https://www.clevious.com" target="_blank">Clevious</a></div>
</form>


</main>
              
            
!

CSS

              
                main {
	width: 64%;
	margin: auto;
	background-image: url('https://lh5.googleusercontent.com/usm2px_xKWC2tVVAnpnHikc2fmc8lWaEEDfVecNsLsE0aR8mqEIsu9UbuRYqAeT7M93ZGkXaRw=w800');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: auto;
}

form {
	background-color: #666b7a;
	padding: 25px;
	text-align: center;
	color: #fff;
	border-top: 10px solid #363839;
}

button {
	height: 40px;
	width: 143px;
	background-color: #2f295d;
	color: #fff;
	font-size: 16px;
	border: none;
}

button:hover {
	background-color: #554aa7;
}

textarea {
	width: 80%;
}

h1 {
	font-family: sans-serif;
	color: #ff2a2a;
	background-color: #ffffff;
	opacity: 0.8;
	padding: 5px 0 5px 15px;
	width: 70%;
	margin: auto;
	text-align: center;
	border-radius: 150px;
}

h2 {
	background-color: #36383f;
	color: #fff;
	border-bottom-left-radius: 15px;
	border-top-right-radius: 15px;
	font-size:  20px;
	padding: 10px 0 10px 0;
}

form div {
	margin: 0px 0 15px 0;
}

label {
	font-size: 20px;
}

::placeholder {
	font-size: 15px;
}

#main {
	text-align:center;
}

#title {
	display: inline-block;
	position: relative;
	margin-top: 115px;
}

#name, #email, select {
	height: 25px;
	max-width: 250px;
}

#number {
	width: 130px;
}

.labels {
	display: inline-block;
	width: 58%;
	float:left;
	text-align: right;
}

.names {
	display: inline-block;
	float:left;
	text-align:left;
	padding-left: 15px;
}

#madeby {
	background-color: #515561;
	margin-top: 20px;
	color: #fff;
	padding: 15px 0 15px 0;
	border-radius: 3px;
}

#madeby a {
	color: #fff;
}

@media only screen and (max-width:  359px) {
	#name, #email, select {
		width: 150px !important;
	}
}

@media only screen and (max-width:  628px) {
	main {
		width: 90%;
	}
	#title {
		margin-top: 73px;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console