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

              
                <body>
  <h1 id="title">Survay Form<h1>
    <div id="gradient"> 
      <p id="description">Would you like to join the C.R.S coding club file out the short form below.</p>
      <form id="survey form" method="GET">
        <div id="rowTab">
          <div class="labels">
            <label id="lable-name" for="name">Name:</label>
             <div class="rightTab">
        <input autofocus type="text" name="name" id="name" class="input-field" placeholder="Enter your name" required>
      </div>
    </div>
  <div id="rowTab">
    <div class="labels"> 
      <label id="label-address" for="address">Address:</lable>
      <div class="rightTab">
        <input autofocus type="text" name="address" id="address" class="input-field" placeholder="Enter your address" required> 
      </div>
    </div>
    <div class="rowTab">
      <div class="labels">
        <label id="number-label" for="age">
          Age: </label>
      </div>
      <div class="rightTab">
        <input type="number" name="age" id="number" min="15" max="25" class="input-field" placeholder="15">
      </div>
    </div> 
        
    <div class="rowTab">
      <div class="sentence">
        <label for="currentProg">What is your level of coding experience:</label>
      </div>
      <div class="rightTab">
        <select id="dropdown" name="currentProg" class="dropdown">
      <option disabled value>Select an option</option>
      <option  value="beginner">beginner</option>
      <option value="lowInter">low Intermidiate</option>
      <option value="inter">intermidiate</option>
      <option value="highinter">high intermidiate</option>
      <option value="advanced">advanced</option>
    </select>
      </div>
       <label id="name1" for="daysAvalable">What days would you like to learn code:</label>
      </div>
     <div class="king">
        <ul style="list-style: none;">
          <li class="radio">
            <label>Monday<input name="radio-buttons" value="1"  type="checkbox" class="daysAvailable" ></label></li>
          <li class="radio"><label>Tuesday<input name="radio-buttons" value="2"  type="checkbox" class="daysAvailable" ></label></li> <li class="radio"><label>Wensday<input name="radio-buttons" value="3"  type="checkbox" class="daysAvailable" ></label></li>
           <label>Thursday<input name="radio-buttons" value="4"  type="checkbox" class="daysAvailable" ></label></li>
          <li class="radio"><label>Friday<input name="radio-buttons" value="5"  type="checkbox" class="daysAvailable" ></label></li>
        </ul>
      </div>
    </div>
        <div>
      <label id="name2" for="daysAvalable">What kind of coding langauge are you best at:</label>  
        </div>
         <div class="queen">
        <ul style="list-style: none;">
          <li class="radio">
            <label>Python<input name="radio-buttons" value="1"  type="radio" class="daysAvailable" ></label></li>
          <li class="radio"><label>javaScript<input name="radio-buttons" value="2"  type="radio" class="daysAvailable" ></label></li> <li class="radio"><label>React and reduce<input name="radio-buttons" value="3"  type="radio" class="daysAvailable" ></label></li>
           <label>HTML<input name="radio-buttons" value="4"  type="radio" class="daysAvailable" ></label></li>
          <li class="radio"><label>CCSS<input name="radio-buttons" value="5"  type="radio" class="daysAvailable" ></label></li>
        </ul>
      </div>
    </div>
    <div class="rowTab">
      <div class="labels">
        <label for="comments">Any Comments or Suggestions?</label>
      </div>
      <div class="rightTab">
        <textarea id="comments" class="input-field" style="" name="comment" placeholder="Enter your comment here..."></textarea>
      </div>
    </div>
    <button class="submit" id="submit" type="submit">Submit</button>
  </form>
    
    
    
    
    </div>

   
            
          
      
      
    
    
    
    
    
    
    
    
        
    </div>
</body>
              
            
!

CSS

              
                
@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
  #description {
  font-family: 'Ubuntu'; 
    text-align: center;
    
}
#title {
  text-align: center;
  font-family: 'Ubuntu';
  text-decoration: underline;
}
.rightTab {
  display: inline-block;
  position: relative;
  transform: scale(1.5);
  left: 50px;
  bottom: 5px;
}
.labels {
  font-family: 'Ubuntu';
  width: 40%;
  padding: 5px;
  margin-left: 300px;
  margin-top: 10px;
}
#label-address {
  position: absolute;
  left: 282px;
  
}
#number-label {
  position: absolute;
  left: 343px;
  top: 275px;
}
#number {
  position: relative;
  left: 254px;
  top: 19px;
}
.sentence {
  position: relative;
  top: 55px;
  left: 40px;
}
.dropdown {
  position: relative;
  left: 390px;
  top: 12px;
  
}
body {
  font-style: 'Ubuntu';
  background: linear-gradient(180deg, #00FFFF, #FF007D, #FF7D00);
}
#name1 {
  position: relative;
  top: 80px;
  right: 90px 
}


.king {
  justify-content: center;
  display: flex;
  position: relative;
  top: 25px;
}
.queen {
 justify-content: center;
  display: flex;
  position: relative;
  bottom: 25px; 
  left: 50px;
} 

.daysAvailable,
input[type="checkbox"] {
  float: left;
  margin-right: 5px;
}
.input-field {
  position: relative;
  top: 1.5em;
  left: 19em;
}
.submit {
  position: relative;
  left: 35em;
  top: 2em;
}









              
            
!

JS

              
                
              
            
!
999px

Console