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.


  <h1 id="title">SURVEY ABOUT DANCING</h1>
<p id="description">Thank you for taking the time to answer this survey about your views on dance</p>  
  <form id="survey-form"> <br>
    <label id="name-label">NAME
    <input id="name" type="text"required placeholder="Enter your name" ><br><br></label>
    <label id="email-label">EMAIL
    <input id="email" type="email"required placeholder="Enter your email"><br><br></label>
    <label id="number-label">AGE
    <input id="number" type="number" required placeholder="Enter Age" min="5"max="100"></label>
    <div class="labels">GENDER
    <label id="male"><input id="gender" type="radio" name="gender" value="male"checked> Male</label>
    <label id="female"><input id="gender" type="radio" name="gender" value="female">Female</label>        
        <div class="radio">
    <label for="yes"> Do you dance? (Professionally or as a sport/ a hobby) <br>
     <input id="yes" name="radio-buttons" value="yes" type="radio">Yes. </label> <br> 
    <label for="no">  
     <input id="no" name="radio-buttons" value="no" type="radio">No.  </label> <br>
     <label for="usedtodance">  
     <input id="usedtodance" name="radio-buttons" value="usedto" type="radio">Used to dance. </label><br>
      <label for="liketolearn">
     <input id="liketolearn" name="radio-buttons" value="liketo" type="radio"> I would like to learn how to dance. </label>
        <p>Do you believe that a dance can express and show real feelings or thoughts?</p>
    <select id="dropdown" type="dropdown">
      <option disabled selected value>Select an option</option>
      <option value="yes">Yes</option>
      <option value="no">No</option>
      <option value="modernstyle">Only for the modern styles of dancing.</option>
      <option value="classicstyle">Only for the classic styles of dancing.</option>
      </select> <br><br>

   <p>Which of the following best describes your perception of dancing?</p>
 <div class="checkbox">   
<label for="hobby">1. A hobby</label>
<input type="checkbox" id="hobby" name="A hobby" value="hobby"> <br>
<label for="art">2. An art</label>
<input type="checkbox" id="art" name="art" value="An art"><br>
<label for="profession"> 3. A profession</label>
<input type="checkbox" id="profession" name="profession" value="profession"><br>
<label for="sport"> 4. A sport</label>    
<input type="checkbox" id="sport" name="sport" value="sport"> <br><br>
  <p>  <label for="comments">What in your opinion will happen to dancing as a sport? Please explain</label><br> </p>                 <textarea id="comments" placeholder="Type your comments here"></textarea><br><br>
      <button id="submit" type="submit">SUBMIT</button> <br><br>





                body {
  background-image: url("");
text-align: center;
#title {
  text-align: center;
p {
  text-align: center;
  font-family: verdana;
  font-size: 100%;

input[type=text], input[type=email] {
  width: 50%;
  padding: 12px 15px;
input[type=number] {
  width: 49%;
  padding: 12px 15px;
.labels {
  font-family: verdana;
  font-size: 100%;
.radio {
  font-family: verdana;
  font-size: 100%;
.checkbox {
  font-family: verdana;
  font-size: 100%;
#comments {
  font-family: verdana;
  font-size: 100%;
  width: 35%;



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