Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&display=swap" rel="stylesheet">

<!-- https://www.youtube.com/watch?v=se0CcYu7OPI -->


<div class="container">
  <form id="survey-form">
  
  <header>
    <h1 id="title"><strong>Best Source Feedback Survey Form</strong></h1>
    <p id="description">Thank you for taking the time to help us improve<p>
  </header>
  
  <form action="" id="survery-form">
   <div class="form-group">
    <label for="name" id="name-label">Name: </label>
    <input type="text"
           id="name"
           class="form-control"
           placeholder="Enter your full name"
           required>
    </div>
    <div class="form-group">
      <label for="email" id="email-label">Email: </label>
         <input 
                type="email" 
                id="email" 
                class="form-control"
                placeholder="Enter your email address"
                required>
    </div>
    
    <div class="form-group">
      <label for="number" id="number-label">Age: </label>
      <input
             type="number"
             id="number"
             class="form-control"
             required
             
             min="10"
             max="100"
             
             placeholder="Enter your age"
             >
    </div>
    
    <div class="form-group">
      <p> How many hours a week do you operate your forklift(s)?</p>
      <select 
              name="role" 
              id="dropdown"
              class="form-control"
              required
              >
        <option disabled selected value>Select one</option>
        <option value="≤5 hours">≤5 hours</option>
        <option value="6-10 hours">6-10 hours</option>
        <option value="10-20 hours">10-20 hours</option>
        <option value="20-30 hours">20-30 hours</option>
        <option value="30-40 hours">30-40 hours</option>
        <option value="40+ hours">40+ hours</option>
    </div>
      
    <br>
      <section id="wth">wth</section>
      

      <div class="form-check">
        <p>How heavy is your average load?</p>
      </div>
      
        <label for="100lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="100lbs"
                 class="form-check-input"
                 checked> 100lbs
        </label>
      </div>
      
      <div class="form-check">
        <label for="200lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="200lbs"
                 class="form-check-input"
              />200lbs
        </label>
      </div>
      
      <div class="form-check">
        <label for="300lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="300lbs"
                 class="form-check-input"
                 />300lbs
        </label>
      </div>
      
      <div class="form-check">
        <label for="400lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="400lbs"
                 class="form-check-input"
                 />400lbs
        </label>
      </div>
      
      <div class="form-check">
        <label for="500lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="500lbs"
                 class="form-check-input"
                 />500lbs
        </label>
      </div>
      
      <div class="form-check">
        <label for="600+lbs">
          <input
                 type="radio"
                 name="user-recommended"
                 value="600+lbs"
                 class="form-check-input"
                 />600+lbs
        </label>
      </div>

      
      <div class="form-group row">
        <p>
          What brand is your forklift(s)?
          <span class="clue">(Check all that apply)</span>
          </p>
        
        <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check1"
                 name="Clark"
                 value="something"
                 >
          <label class="form-check-label">Clark</label>
        </div>
        
                <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check2"
                 name="Hyster-Yale"
                 value="something"
                 >
          <label class="form-check-label">Hyster-Yale</label>
        </div>
        
                <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check3"
                 name="Toyota"
                 value="something"
                 >
          <label class="form-check-label">Toyota</label>
        </div>
        
                <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check4"
                 name="Mitsubishi"
                 value="something"
                 >
          <label class="form-check-label">Mitsubishi</label>
        </div>
        
                <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check5"
                 name="Komatsu"
                 value="something"
                 >
          <label class="form-check-label">Komatsu</label>
        </div>
        
                <div class="form-check col-sm-4">
          <input 
                 type="checkbox"
                 class="form-check-input"
                 id="check6"
                 name="Other"
                 value="something"
                 >
          <label class="form-check-label">Other</label>
        </div>
      
    
      <div class="form-group">
        <p>Any comments or suggestions?</p>
        <textarea
                  name="comment"
                  id="comments"
                  class="form-control"
                  placeholder="Enter your comments here...">
        </textarea>
      </div>
      
      <div class="form-group">
        <button 
                type="submit"
                id="submit"
                class="btn btn-primary"
                >Submit</button>
           
           </div>
      
  </form>
  
</div>

              
            
!

CSS

              
                

body{
  background-color: black;
  color: #0197f6;
  font-family: 'Roboto', sans-serif;
  
  background-image: url(https://www.hyster.com/globalassets/coms/hyster/north-america/images/trucks/e30-40hsd3_pdphero.jpg);
  background-attachment: cover;
  background-size: cover;
   background position: center;
  background-repeat:no-repeat;

}

.container{
  width: 100%;
  margin: 3.5em auto 0 3.5em;

}

form{
  width: 650px;
  background-color: rgb(101, 26, 101, .8);
  padding: 10px 20px;
  border-radius: 10px;
}

#title{
  font-size: 38px;
  margin-left: 9px;
}


#description{
  margin-left: 80px;
  font-size: 20px;
}

#survey-form{
  margin-left: 20px;
  padding: 20px 20px 20px 20px
}

.form-group {
  padding: 20px;
}

.form-check { 
  padding: 10px;
  margin: 5 0 0 0;
}

#100lbs {
  margin: 10 10 10 10;
}





              
            
!

JS

              
                
              
            
!
999px

Console