123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <head>
<!--  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</head>-->
<body class="container-fluid main">
  <div class="form_main">
  <h1 id="title" class="title">
    Where do you Work?
  </h1>
  <p id="description">
    Hello! This Survey is looking to compile data to assist new labor force participants in finding out where they belong in the machine of industry!
  </p>
  <div>
    <form id="survey-form">
      <div class="wrapper">
      <!--Name, age, email -->
      <div id="contact_div">
      <p>
      <label id="name-label">First and Last Name:
      <input class="frmbx" id="name" type="text" required placeholder="Name">
        </label>
      </p>
      <p>
      <label id="email-label">Email Address
      <input class="frmbx" id="email" type="email" required placeholder="Email">
        </label>
      </p>
      <p>
      <label id="number-label">Age
      <input class="frmbx" id="number" type="number" name="age" required  placeholder="15-99" min="15" max="99">
        </label>
      </p>
      </div>
      <!-- Location Check Boxes -->
      <div id="location_div">
      <p id="where">Where are you from?</p>
      <p><label for="what-area">
      <input type="checkbox" id="what-area"value="The Rust Belt"> The Rust Belt
      </label>
        </p>
      <p>  <label for="what-area">
      <input type="checkbox" id="what-area" value="The Eastern Seaboard">The Eastern Seaboard
      </label>
        </p>
      <p>
        <label for="what-area">
      <input type="checkbox" id="what-area" value="The West Coast">The West Coast
      </label>
      </p>
      </div>
      <!-- Employment Status Dropdown Menu -->
      <div id="employment_div">
    <input list="dropdown" placeholder="Employment Status">
      <datalist id="dropdown">
        <option value="Unemployed">
        <option value="Part-time">
        <option value="Full-time">
          <option value="Student/Unemployed">
        <option value="Part-time/student"> 
           </datalist>
      </div>
      <!--Occupation Scale Radio Buttons -->
      <div id="who_div">
            <p id="who-are-you"> What best describes you?</p>
      <p><label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Elizabeth Banks"> Elizabeth Banks
      </label>
        </p>
      <p><label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Liam Neeson"> Liam Neeson
      </label>
        </p>
       <p><label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Nick Offerman"> Nick Offerman
      </label>
        </p>
      <p>  <label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Morgan Freeman"> Morgan Freeman
      </label>
        </p>
      <p>
        <label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Chris Pratt"> Chris Pratt
      </label>
      </p>
      <p>
        <label for="who-are-you">
      <input type="radio" id="who-are-you" name="who-are-you" value="Will Arnett">Will Arnett
      </label>
      </p>
      </div>
      <!-- Comment Text Box -->
      <div id="comment_div">
      <label for="comments">
        Comments: 
        <p>
         (bonus points for guessing which movie the actors/acresses listed above starred in)
        </p>
        <p>
          <textarea class="txtbox" type="text" placeholder="Any other comments?"></textarea>
      </label>
      </p>
      </div>
      <!-- Submit Button -->
      <p>
      <button type="submit" id="submit" class="submit-button" formtarget="_top"> SUBMIT </button>
      </p>
      </div>
       </form>
    </div>
  </div>
  
</body>
            
          
!
            
              /*Universal Stuff*/
.main{
 background-image: linear-gradient(to bottom right, #669999, white);

}
.title{
  color:white;
  border-color:#02b5b5;
  border-style:none solid solid none;
  border-radius: 15px;
  margin: 5px 5px 15px -15px;
  padding: 5px 5px 5px 10px;
  background-image: linear-gradient(to bottom right, #407f7f, #02b5b5, #0d4d4d);
}
/*Form Entry Stuff*/
.form_main{
  background: lightgray;/* linear-gradient(to bottom right, white, lightgray, #0d4d4d,)*/
  padding:3px 25px;
  border:1px;
  border-radius: 15px;
  border-style:solid;
  margin: 45px 100px;
}
input{
  border: 1px, solid, black;
  border-radius:10%;
}
.frmbx{
  width:100%;
}
.txtbox{
  width:100%;
  height:100px;
  
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console