Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


                <!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Survey Form</title>
<!--   section for the page header -->
    <h1 id="title">Bello Tech Survey Form</h1>
    <p id="description">Thanks for your feedback to help us improve our product</p>

<!--   section for the page form -->
  <form id="survey-form" action="">
    <label for="name" id="name-label">Name:</label><br>
    <input type="text" id="name" placeholder="First name and last name" required><br>
     <label for="email" id="email-label">Email:</label><br>
    <input type="email" id="email" required placeholder="Email address should be inputed here"><br>
    <label for="number" id="number-label">Number:</label><br>
    <input type="number" id="number" required min="0" max="50" placeholder="Not more than fifty numbers"><br><br>
    <div class="form-dropdown">
    <p>Select the type of shark present in your country</p>
    <select name="" id="dropdown">
      <option disabled selected value>Type of shark</option>
      <option value="sand-sharks">Sand Sharks</option>
      <option value="sawshark">SawShark</option>
      <option value="cowsharks">Cow Sharks</option>
      <option value="groundsharks">Ground Sharks</option>
      <option value="angelsharks">Angel Sharks</option>
    <div class="form-radio">
    <p>Select how you would love to get the sharks</p> 
      <label for="radio1">Yes:</label>
      <input type="radio" name="yesorno" id="radio1" value="yes">  <br>
      <label for="radio2">No:</label>
      <input type="radio" name="yesorno" id="radio2" value="no">   
    <div class="form-checkboxes">
      <p>Choose the few options available for you</p>
      <input type="checkbox" name="checkbox1" value="football"> Football <br>
      <input type="checkbox" name="checkbox2" value="basketball"> Basketball <br>
      <input type="checkbox" name="checkbox3" value="hockey"> Hockey <br>
    <p> Any comments or suggestions?</p>
      <textarea name="suggestion" id="suggestion-box" cols="30" rows="10" placeholder="place your comments here" value="message"></textarea>
      <button type="submit" id="submit">Submit</button>



                #title {
  text-align: center;

#description {
  text-align: center;
  font-style: italic;


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