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.


                <script src=""></script>
  <h1 id="title"> Wonka's Chocolate Factory Employee Survey
  <p id="description"> Thank you for your time to help us improve our choclatey work environment! </p>

  <form id="survey-form" action="submit" target="_blank">
    <label for="" id="name-label"> Name </label>
      <input id="name" type="text" required name="name" placeholder="Enter your Name"><br>
    <label for="" id="email-label"> Work Email </label>
      <input type="email" required id="email" name="email" placeholder="Enter your Email"><br>
    <label for="" id="number-label"> Employee ID Number </label>
    <input type="number" required name="number" id="number" min="10" max="500000" placeholder="Employee ID  #"><br>
    <label for="" id="role"> What role are you employed in? </label>
    <select name="dropdown" id="dropdown">
      <option value="">--Please choose an option--</option>
      <option value="mixer">Chocolate Mixer</option>
      <option value="Taster">Test Taster</option>
      <option value="Sugar">Sugar Stirrer</option>
      <option value="Baker">Baker</option>
    <label for="reco" id="employee"> Would you recommend your friend to work here? <br>
    <input type="radio" name="reco" value="Definately"> Definately
    <input type="radio" name="reco" value="Maybe"> Maybe
      <input type="radio" name="reco" value="Not Sure"> Not Sure </label>
    <p id="position"> What is your favorite thing about being employed at Wonka's Chocolate Factory? </p>
    <select id="dropdown-menu">
      <option value="">--Please choose an option--</option>
      <option value="free">Free Chocolate</option>
      <option value="jacuzzi">Chocolate Jacuzzi</option>
      <option value="health-insurance">Sugar Health Insurance</option>

    <label id="improve"> What would you like to see improved? </label>
    <ul id="preferences" style="list-style: none;">
      <li class="checkbox"><label ><input name="prefer" value="1" type="checkbox" class="userRatings" id="radio-check">More Break TIme</label></li>
      <li class="checkbox"><label><input name="prefer" value="2" type="checkbox" class="userRatings">Vacation Days</label></li>
      <li class="checkbox"><label><input name="prefer" value="3" type="checkbox" class="userRatings">Benefit Package</label></li>
      <li class="checkbox"><label><input name="prefer" value="4" type="checkbox" class="userRatings">Diversity</label></li>
      <li class="checkbox"><label><input name="prefer" value="5" type="checkbox" class="userRatings">Other</label></li>
  <label> Please provide below any additonal thoughts you may have about how to improve your work life at Willy Wonka's Chocolate Factory? </label><br>
  <textarea type="message" placeholder="Leave comments here"></textarea>
  <input type="submit" id="submit">



                body {
  background-color: purple;
  background-image: url("");
  background-repeat: no-repeat;
  background-position: center center;
  color: white;
  line-height: 200%;
h1 {
  text-align: center;
p {
  color: black;
  font-weight: bold;
label {
  color: black;
  font-weight: bold;
  display: block;