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


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.


                <h1 id="title">Software Survey Form</h1>

<p id="description">Thank you for taking your time to fill this form.</p>

<form id="survey-form">
  <label id="name-label" for="name">Name:</label><br>
  <input type="text" id="name" name="name" placeholder="Enter your name" class="form1"required><br><br>
  <label id="email-label" for="email">E-mail:</label><br>
  <input type="email" id="email" name="email" placeholder="" class="form1" required><br><br>
  <label id="number-label" for="number">Age:</label><br>
  <input type="number" id="number" name="age" min="10" max="99" placeholder="Age" class="form1">
  <p>How did you know about our software?</p>
  <select name="os-knowhow" id="dropdown" style=" padding: 8px;">
  <option value="social-media">Social media</option>
    <option value="e-mail">E-mail</option>
    <option value="advertisements">Advertisements</option>
    <option value="word">Word of mouth</option>
    <option value="search">Search</option>
  <p>Which platform do you use?</p>
  <input type="radio" id="windows" name="user-choice" value="Windows">
  <label for="windows">Windows</label><br>
  <input type="radio" id="safari" name="user-choice" value="Safari">
  <label for="safari">Safari</label><br>
  <input type="radio" id="linux" name="user-choice" value="Linux">
  <label for="linux">Linux</label><br>
  <input type="radio" id="other" name="user-choice" value="Other">
  <label for="other">Other</label>
 <p>Did you purchase our software?</p>
  <select name="purchase" id="purchase"
          style=" padding: 8px;">
    <option value="yes">Yes</option>
    <option value="no">No</option>
    <option value="still-deciding">Still deciding</option>
  <p>What services do you like about our software?</p>
  <input type="checkbox" id="affordability" name="services" value="Affordability">
  <label for="affordability">Affordability</label><br>
  <input type="checkbox" id="easy-to-upgrade" name="services" value="Easy-to-upgrade">
  <label for="easy-to-upgrade">Easy-to-upgrade</label><br>
  <input type="checkbox" id="compatible-with" name="services" value="Compatible-with">
  <label for="compatible-with">Compatible with other software</label><br>
  <input type="checkbox" id="great-perfomance" name="services" value="Great-perfomance">
  <label for="great-perfomance">Great perfomance</label><br>
  <input type="checkbox" id="better-customization" name="services" value="Beter-customization">
  <label for="better-customization">Better customization</label><br>
  <p>Please write any comments or suggestions.</p>
  <textarea name="comments" id="comments" cols="30" rows="10" placeholder="Write your comments here..."></textarea><br>
  <input type="submit" id="submit" value="Submit" class="submit">



* {
  border-sizing: border-box;
  outline: none;

body {
  font-family: verdana, sans serif;
  font-size: 16px;
  color: black;
  background-image: linear-gradient(45deg, grey, violet, green, orange, tomato)

h1 {
  text-align: center;
  font-weight: 550;

#description {
  font-style: italic;
  font-weight: bold;
  text-align: center;
  margin-top: 0;

#survey-form {
  width: 500px;
  margin: 40px auto 60px auto;
  background-color: pink;
  padding: 40px;
  border-radius: 10px;

select {
  font-family: inherit;
  font-size: 15px;
  border-radius: 5px;
  border: 1px;
  width: 100%;

#submit {
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  font-size: 15px;
  border: 1px;
   padding: 8px;

.form1 {
  width: 100%;
  border-radius: 5px;
  border: 1px;
  font-size: 15px;
.font15 {
  font-size: 15px;

.submit:hover {
  background: linear-gradient(45deg, grey, violet, green, orange, tomato);

textarea {
  min-height: 170px;
  resize: vertical;

input[type="text"], input[type="email"], input[type="number"]  {
  padding: 8px;


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

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

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