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

              
                <html>
  
<body>
  <div class="head">
    <h1 id="title">YES Survey</h1>
    <p id="description">Thank you for participating in this survey. The survey will help those who administer the FLEX and YES programs to highlight the impact of the exchange and post-exchange activities on the lives of alumni.

As a respondent of this survey you are promised confidentiality.  Your name will never be used in reference to any information you provide in this survey.  We will use the contact information you provide to update the A-SMYLE/FLEX/YES Alumni</p>
  </div>
 <div class="grid-container">
  <form id="survey-form" action="" method="get"/>
    <div class="question grid-item1">
      <label for="name" id="name-label">Name <input id="name" type="text"  placeholder="Enter your name" required/> </label>
    </div> 
    <div class="question grid-item2">
      <label for="email" id="email-label">Email <input id="email" type="email"  placeholder="your email please" required>
      </label>
      
    </div>
 
    <div class="question grid-item3">
      <label for="number" id="number-label">Age   <input id="number" type="number" value="" min="1" max="100" placeholder="Your age" required/>
      </label>
      
     </div>
     <div class="question grid-item4">
      <label for="dropdown">Which option best describe your current work status</label>
      <select id="dropdown" required>
        <option>Select one</option>
        <option>Employed</option>
        <option>Unemployed</option>
        <option>Self-employed</option>
        <option>Student</option>
      </select>
    </div>
    <div class="question">
      <label class="kl">Would you recommend the YES Program to someone</label> 
      <div class="">
            <input id="radio" name="recommendation" type="radio" value="definately"/>
            <label id="radio" class="label"> Definately </label>
      </div>
      <div class=""> 
            <input id="maybe" name="recommendation" type="radio" value="maybe"/>
            <label id="maybe" class="label"> Maybe </label>
      </div>
      <div class=""> 
            <input id="notsure" name="recommendation" type="radio" value="notsure"/>
            <label id="notsure" class="label"> Not sure</label> 
      </div>
    </div>
    <div class="question">
      <label for="yesfavorite">What's favorite thing about the YES program?</label>
      <select id="yesfavorite" required>
        <option>Select one</option>
        <option value="travelling">The travelling</option>
        <option value="metting people">Metting people from different countries</option>
        <option value="being in the us">Being the   USA</option>
        <option value="learning english">Learning english</option>
      </select>
    </div>
    <div class="question" id="checkbox">
        <label for="">What would you change about the YES Program</label>
          <div> 
             <input id="selec" name="check" type="checkbox" value="selection of participant" class="input">
            <label id="selec" class="label"> The Selection of participants </label>
          </div>
          <div class="plz">
            <input id="countries" name="check" type="checkbox" value="countries" class="input">                 <label id="countries" class="label">Participating counries</label>
          </div>
          <div>
             <input id="duration" name="check" type="checkbox" value="countries" class="input">
             <label id="duration" class="label">The duration of the program</label>
          </div>
          <div>
             <input id="host" name="check" type="checkbox" value="host" class="input">
             <label id="host" class="label">Selection of host families</label>
          </div>
          <div>
             <input id="stipend" name="check" type="checkbox" value="stipend" class="input">
             <label id="stipend" class="label">The stipend program</label>
          </div>
          <div> 
             <input id="prepation" name="check" type="checkbox" value="preparation" class="input">
             <label id="prepation" class="label"> The preparation of particiants before and after           program</label>
          </div>
    </div>
        
  <div class="question">
        <label for="textarea">Tell us the reason why, you would change that</label> <br>
        <textarea id="textarea" type="textarea" name="explanation" placeholder="" minlenght="200" maxlenght="500" cols="100" rows="10"></textarea>  
  </div>
  <div>
    <input type="submit" name="submitbutton" value="submit" id="submit"/>
  </div>
   
 </div>
        
</form>
</div>
  <div class="img">
    <div><img class="img1"src="https://www.amideast.org/sites/default/files//images/hq/Yes_transparent.png" alt="yeslogo"/>
   
  </div>
</body>
</html>
              
            
!

CSS

              
                * {
  background-color:#800e0e;  
  color: white;
}
body { 
  text-transform: 
     
}
h1, p {
   background-color: white;
   color: #179e14;
   text-align: center;
  margin:0 auto;
   width: 75%;
   
}
p {
  font-size: 20px;
  font-family: "Space mono";
  text-align: left; 
}
#survey-form {
      text-align: center;     
      }


.question{ 
           padding: 15px;
           margin: 5px;
           text-align: center;
           display: block;
           width: ;
}
label {
     display: block;
     font-size: 20px;
     
     margin: 10px;
     
}
.input, .label{
         display: inline-block;
         width: 250px;
         padding-left: 0;
         margin: 0;
         height: 20px;
         text-align: left;
         
}
#number, #email, #name, #dropdown, #yesfavorite, #textarea{
   background-color: white;
   color: black;
   font-weight: bold;
   padding: 10px;
  
}



.label {
     font-size: ;
     padding: 10px;
}

#submit {
    color: #179e14;
    background-color:white;
    font-size: 20px;
    font-weight: bold;
    font-style: sans-serif;
    text-transform: uppercase;
    width: 75%;
    height: 40px;
}

.img {
  text-align: center;
  }

              
            
!

JS

              
                
              
            
!
999px

Console