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

              
                <!--<!DOCTYPE html>-->
<html>
  <!--@HEAD-->
  <head>
    <title>A Survey Form</title>
    <meta charset="UTF-8">
    <meta name="description" content="A Survey Form">
    <meta name="author" content="ridafatima">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--#FREECODECAMP_TEST_SUITE-->
    <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
    <!--#FONT_AWESOME-->
    <link href='https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
    <!--#FONTS-->
    <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Tangerine" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
  </head>
  <!--@BODY-->
  <body id="body">
    <!--#NAVBAR-->
    <div id="navbar"></div> 
    <!--#ICON-->
    <div id="icon">
      <div class="logo">
        <img src ="https://res.cloudinary.com/billu/image/upload/v1531670610/myFolder/imageedit_2_9631092026.png" alt="logo" id="logo">
        <p id ="logo-tag">Rise Airways</p>
      </div>
    </div> 
    <!--#BANNER-->
    <div id="banner">
      <img src="https://res.cloudinary.com/billu/image/upload/v1531664327/myFolder/pexels-photo-314726.jpg" id="banner-image">
    </div>
    <!--#CONTENT-->
    <div id ="content">
      <!--#POP_UP-->
      <div id="pop-up">
        <p id="thank-you">THANK YOU!</p>
        <p>Your response has been submitted successfully.</p>
        <p>Thank you for your participation.</p>
      </div>
      <div id="opacity"></div>
      <header>
        <h1 id="title">Airline Passenger Satisfaction Survey</h1>
        <p id="description">Let us know how we can improve your experience</p>
      </header>
      <!--#FORM_START-->
      <form id="survey-form">
        <!--#DISCLAIMER-->
        <div id="disclaimer">
          <h2>Disclaimer</h2>
          <p>This is a survey being conducted by <strong><em>"Rise Airways"</em></strong>. The participation in the survey is voluntary and free.</p>
          <p>The purpose of this survey is to collect valuable feedback from our passengers in order to enhance their flight experience with us by providing superior quality services.</p>
          <p>The procedure involves filling an online survey form that will take approximately 15 minutes. Your all responses will be confidential.
  The survey questions will be related to your assessment of our airline. Please provide relevant and responsible responses.</p>
          <p>The results of this survey will be used for improving our quality of services and facilities.</p>
          <div id="agreement">
            <label for="terms">Checking <strong>"Agree"</strong> below indicates that: </label>
            <ul id="terms">
              <li>you have read the above information</li>
              <li>you voluntarily agree to participate</li>
            </ul>
            <input type="checkbox" id="agree" name="agree" value="agree" class="checkbox" required>
            <label for="agree" id="agree-label">Agree</label>
            <p id="warn-agree" class="warn"></p> 
          </div>
        </div>
        <hr>
        <!--#PERSONAL_INFORMATION_START-->
        <div id="personal">
          <h2>Personal Information</h2>
          <div id="name-container">
            <div class="label">
              <label id="name-label" for="name">* Name:</label>
            </div>
            <div class="input">
              <input type="text" id="name" name="name" placeholder="Enter your name" pattern="[A-Za-z\s]+" required>
              <p id="warn-name" class="warn"></p>
            </div>   
          </div>
          <div id="email-container">
            <div class="label">
              <label id="email-label" for="email">* Email:</label>
            </div>
            <div class="input">
              <input type="email" id="email" name="email" placeholder="Enter your email" required>
              <p id="warn-email" class="warn"></p>
            </div>
          </div>
          <div id="postalcode-container">
            <div class="label">
              <label id="postalcode-label" for="postal-code">* Postal code:</label>
            </div>
            <div class="input">
              <input type="postal-code" id="postal-code" placeholder="Postal code" required>
              <p id="warn-postal-code" class="warn"></p>
            </div>
          </div>
          <div id="tel-container">
            <div class="label">
              <label id="tel-label" for="tel">Telephone:</label>
            </div>
            <div class="input">
              <input type="tel" id="tel" placeholder="Contact number">
            </div>
          </div>
          <div id="number-container">
            <div class="label">
              <label id="number-label" for="number">Age:</label>
            </div>
            <div class="input">
              <input type="number" id="number" min="13" max="100" placeholder="age">
            </div>
          </div>
          <div id="gender-container">
            <div class="label">
              <label id="radio-label" for="radio">Gender:</label>
            </div>
            <div class="input">
              <div id="radio">
                <input type="radio" id="male" name="gender" value="male">
                <label for="Male">Male</label>
                <input type="radio" id="female" name="gender" value="female">
                <label for="Female">Female</label>
              </div>
            </div>
          </div>
          <div id="describe-container">
            <div class="label">
              <label id="dropdown-label" for="dropdown">Which of the following describes you best?</label>
            </div>
            <div class="input">
              <select id="dropdown" value="dropdown">
                <option value="none" selected disabled>Select an option</option>
                <option value="Student">Student</option>
                <option value="Employed">Employed</option>
                <option value="Self-employed">Self employed</option>
                <option value="Retired">Retired</option>
                <option value="Not-Employed">Not Employed</option>
              </select>
            </div>
          </div>
        </div>
        <!--#PERSONAL_INFORMATION_END-->
        <hr>
        <!--#QUESTIONNAIRE_START-->
        <div id="questionnaire">
          <h2>Survey Questionnaire</h2>
          <!--#QUESTION_1-->
          <div id="question-1">
            <div class="label">
              <label for="dropdown-0">How often do you fly?</label>
            </div>
            <div class="input">
              <select id="dropdown-0" value="dropdown-0">
                <option value="none" selected disabled>Select an option</option>
                <option value="week">Once a week or more</option>
                <option value="month">2-3 times a month</option>
                <option value="month">Once a month</option>
                <option value="year">A few times a year</option>
                <option value="year">Once a year or less</option>
                <option value="never">Never</option>
              </select>
            </div>
          </div>
          <!--#QUESTION_2----#DIV_TABLE_0-->
          <div id="question-2">
            <div id="table-0-label">
              <label for="table-0">Tell us how important of the following was in making your decision to use our airline:</label>
            </div>
            <div id="table-0">
              <div id="table-0-row-head">
                <div class="cell"><!--empty--></div>
                <div class="cell"><label for="table-0-row-head">Important</label></div>
                <div class="cell"><label for="table-0-row-head">Neutral</label></div>
                <div class="cell"><label for="table-0-row-head">Unimportant</label></div>
              </div>
              <div id="table-0-row-1">
                <div class="cell"><label for="table-0-row-1">Air fare was better:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-1-radio-0" name="table-0-row-1" value="table-0-row-1-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-1-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-1-radio-1" name="table-0-row-1" value="table-0-row-1-radio-1">
                  </span>
                  <span class="invisible"><label for="table-0-row-1-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-1-radio-2" name="table-0-row-1" value="table-0-row-1-radio-2">
                  </span>
                  <span class="invisible"><label for="table-0-row-1-radio-2">Unimportant</label></span>
                </div>
              </div>
              <div id="table-0-row-2">
                <div class="cell"><label for="table-0-row-2">Convenient departure/arrival time:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-2-radio-0" name="table-0-row-2" value="table-0-row-2-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-2-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-2-radio-1" name="table-0-row-2" value="table-0-row-2-radio-1">
                  </span>
                  <span class="invisible"><label for="table-0-row-2-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-2-radio-2" name="table-0-row-2" value="table-0-row-2-radio-2"> 
                  </span>
                  <span class="invisible"><label for="table-0-row-2-radio-2">Unimportant</label></span>
                </div>
              </div>
              <div id="table-0-row-3">
                <div class="cell"><label for="table-0-row-3">Aircraft preference:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-3-radio-0" name="table-0-row-3" value="table-0-row-3-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-3-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-3-radio-1" name="table-0-row-3" value="table-0-row-3-radio-1">
                  </span>
                  <span class="invisible"><label for="table-0-row-3-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-3-radio-2" name="table-0-row-3" value="table-0-row-3-radio-2">
                  </span>
                  <span class="invisible"><label for="table-0-row-3-radio-2">Unimportant</label></span>
                </div>
              </div>
              <div id="table-0-row-4">
                <div class="cell"><label for="table-0-row-4">Frequent flyer program:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-4-radio-0" name="table-0-row-4" value="table-0-row-4-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-4-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-4-radio-1" name="table-0-row-4" value="table-0-row-4-radio-1">
                  </span>
                  <span class="invisible"><label for="table-0-row-4-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-4-radio-2" name="table-0-row-4" value="table-0-row-4-radio-2">
                  </span>
                  <span class="invisible"><label for="table-0-row-4-radio-2">Unimportant</label></span>
                </div>
              </div>
              <div id="table-0-row-5">
                <div class="cell"><label for="table-0-row-5">Flight had fewer stops or better connections:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-5-radio-0" name="table-0-row-5" value="table-0-row-5-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-5-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-5-radio-1" name="table-0-row-5" value="table-0-row-5-radio-1">
                  </span>
                  <span class="invisible"><label for="table-0-row-5-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-5-radio-2" name="table-0-row-5" value="table-0-row-5-radio-2">
                  </span>
                  <span class="invisible"><label for="table-0-row-5-radio-2">Unimportant</label></span>
                </div>
              </div>
              <div id="table-0-row-6">
                <div class="cell"><label for="table-0-row-6">Services are better:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-6-radio-0" name="table-0-row-6" value="table-0-row-6-radio-0">
                  </span>
                  <span class="invisible"><label for="table-0-row-6-radio-0">Important</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-6-radio-1" name="table-0-row-6" value="table-0-row-6-radio-1"> 
                  </span>
                  <span class="invisible"><label for="table-0-row-6-radio-1">Neutral</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-0-row-6-radio-2" name="table-0-row-6" value="table-0-row-6-radio-2">
                  </span>
                  <span class="invisible"><label for="table-0-row-6-radio-2">Unimportant</label></span>
                </div>
              </div>
            </div>
          </div>
          <!--#QUESTION_3----#DIV_TABLE_1-->
          <div id="question-3">
            <div id="table-1-label">
              <label for="table-1">Please indicate how long you waited in line:</label>
            </div>
            <div id="table-1">
              <div id="table-1-row-head">
                <div class="cell"><!--empty--></div>
                <div class="cell"><label for="table-1-row-head">Didn't Use</label></div>
                <div class="cell"><label for="table-1-row-head">No Wait</label></div>
                <div class="cell"><label for="table-1-row-head">0-15 min</label></div>
                <div class="cell"><label for="table-1-row-head">20+ min</label></div>
              </div>
              <div id="table-1-row-1">
                <div class="cell"><label for="table-1-row-1">Aircraft boarding:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-1-radio-0" name="table-1-row-1" value="table-1-row-1-radio-0">
                  </span>
                  <span class="invisible"><label for="table-1-row-1-radio-0">Didn't Use</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-1-radio-1" name="table-1-row-1" value="table-1-row-1-radio-1">
                  </span>
                  <span class="invisible"><label for="table-1-row-1-radio-1">No Wait</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-1-radio-2" name="table-1-row-1" value="table-1-row-1-radio-2">
                  </span>
                  <span class="invisible"><label for="table-1-row-1-radio-2">0-15 min</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-1-radio-3" name="table-1-row-1" value="table-1-row-1-radio-3">
                  </span>
                  <span class="invisible"><label for="table-1-row-1-radio-3">20+ min</label></span>
                </div>
              </div>
              <div id="table-1-row-2">
                <div class="cell"><label for="table-1-row-2">Security check point:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-2-radio-0" name="table-1-row-2" value="table-1-row-2-radio-0">
                  </span>
                  <span class="invisible"><label for="table-1-row-2-radio-0">Didn't Use</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-2-radio-1" name="table-1-row-2" value="table-1-row-2-radio-1">
                  </span>
                  <span class="invisible"><label for="table-1-row-2-radio-1">No Wait</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-2-radio-2" name="table-1-row-2" value="table-1-row-2-radio-2">
                  </span>
                  <span class="invisible"><label for="table-1-row-2-radio-2">0-15 min</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-2-radio-3" name="table-1-row-2" value="table-1-row-2-radio-3">
                  </span>
                  <span class="invisible"><label for="table-1-row-2-radio-3">20+ min</label></span>
                </div>
              </div>
              <div id="table-1-row-3">
                <div class="cell"><label for="table-1-row-3">Ticket counter:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-3-radio-0" name="table-1-row-3" value="table-1-row-3-radio-0">
                  </span>
                  <span class="invisible"><label for="table-1-row-3-radio-0">Didn't Use</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-3-radio-1" name="table-1-row-3" value="table-1-row-3-radio-1">
                  </span>
                  <span class="invisible"><label for="table-1-row-3-radio-1">No Wait</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-3-radio-2" name="table-1-row-3" value="table-1-row-3-radio-2">
                  </span>
                  <span class="invisible"><label for="table-1-row-3-radio-2">0-15 min</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-3-radio-3" name="table-1-row-3" value="table-1-row-3-radio-3">
                  </span>
                  <span class="invisible"><label for="table-1-row-3-radio-3">20+ min</label></span>
                </div>
              </div>
              <div id="table-1-row-4">
                <div class="cell"><label for="table-1-row-4">For baggage at destination:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-4-radio-0" name="table-1-row-4" value="table-1-row-4-radio-0">
                  </span>
                  <span class="invisible"><label for="table-1-row-4-radio-0">Didn't Use</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-4-radio-1" name="table-1-row-4" value="table-1-row-4-radio-1">
                  </span>
                  <span class="invisible"><label for="table-1-row-4-radio-1">No Wait</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-4-radio-2" name="table-1-row-4" value="table-1-row-4-radio-2">
                  </span>
                  <span class="invisible"><label for="table-1-row-4-radio-2">0-15 min</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-1-row-4-radio-3" name="table-1-row-4" value="table-1-row-4-radio-3">
                  </span>
                  <span class="invisible"><label for="table-1-row-4-radio-3">20+ min</label></span>
                </div>
              </div>
            </div>
          </div>
          <!--#QUESTION_4----#DIV_TABLE_2-->
          <div id="question-4">
            <div id="table-2-label">
              <label for="table-2">Please rate these in-flight services:</label>
            </div>
            <div id="table-2">
              <div id="table-2-row-head">
                <div class="cell"><!--empty--></div>
                <div class="cell"><label for="table-2-row-head">Satisfactory</label></div>
                <div class="cell"><label for="table-2-row-head">Unsatisfactory</label></div>
              </div>
              <div id="table-2-row-1">
                <div class="cell"><label for="table-2-row-1">Availability of flight attendants:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-1-radio-0" name="table-2-row-1" value="table-2-row-1-radio-0">
                  </span>
                  <span><label for="table-2-row-1-radio-0" class="invisible">Satisfactory</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-1-radio-1" name="table-2-row-1" value="table-2-row-1-radio-1">
                  </span>
                  <span><label for="table-2-row-1-radio-1" class="invisible">Unsatisfactory</label></span>
                </div>
              </div>
              <div id="table-2-row-2">
                <div class="cell"><label for="table-2-row-2">Courtesy of flight crews:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-2-radio-0" name="table-2-row-2" value="table-2-row-2-radio-0">
                  </span>
                  <span><label for="table-2-row-2-radio-0" class="invisible">Satisfactory</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-2-radio-1" name="table-2-row-2" value="table-2-row-2-radio-1">
                  </span>
                  <span><label for="table-2-row-2-radio-1" class="invisible">Unsatisfactory</label></span>
                </div>
              </div>
              <div id="table-2-row-3">
                <div class="cell"><label for="table-2-row-3">Pilot's communication with passenger:</label></div>
                <div class="cell">
                    <span class="visible">
                      <input type="radio" id="table-2-row-3-radio-0" name="table-2-row-3" value="table-2-row-3-radio-0">
                  </span>
                    <span><label for="table-2-row-3-radio-0" class="invisible">Satisfactory</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-3-radio-1" name="table-2-row-3" value="table-2-row-3-radio-1">
                  </span>
                  <span><label for="table-2-row-3-radio-1" class="invisible">Unsatisfactory</label></span>
                </div>
              </div>
              <div id="table-2-row-4">
                <div class="cell"><label for="table-2-row-4">Quality of food and drinks:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-4-radio-0" name="table-2-row-4" value="table-2-row-4-radio-0">
                  </span>
                  <span><label for="table-2-row-4-radio-0" class="invisible">Satisfactory</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-4-radio-1" name="table-2-row-4" value="table-2-row-4-radio-1">
                  </span>
                  <span><label for="table-2-row-4-radio-1" class="invisible">Unsatisfactory</label></span>
                </div>
              </div>
              <div id="table-2-row-5">
                <div class="cell"><label for="table-2-row-5">Comfortable seating:</label></div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-5-radio-0" name="table-2-row-5" value="table-2-row-5-radio-0">
                  </span>
                  <span><label for="table-2-row-4-radio-0" class="invisible">Satisfactory</label></span>
                </div>
                <div class="cell">
                  <span class="visible">
                    <input type="radio" id="table-2-row-5-radio-1" name="table-2-row-5" value="table-2-row-5-radio-1">
                  </span>
                  <span><label for="table-2-row-5-radio-1" class="invisible">Unsatisfactory</label></span>
                </div>
              </div>
            </div>
          </div>
          <!--#QUESTION_5----#CHECKBOX_0-->
          <div id="question-5">
             <div class="label">
               <label for="checkbox-0">Things that should be improved in the future:</label>
             </div>
            <div class="input">
              <div id="checkbox-0">
                <div for="checkbox-0-0">
                  <input type="checkbox" id="checkbox-0-0" name="improvements" value="checkbox-0-0" class="checkbox">
                  <label for="checkbox-0-0">staff and flight crew</label>
                </div>
                <div for="checkbox-0-1">
                  <input type="checkbox" id="checkbox-0-1" name="improvements" value="checkbox-0-1" class="checkbox">
                  <label for="checkbox-0-1">Aircraft quality</label>
                </div>
                <div for="checkbox-0-2">
                  <input type="checkbox" id="checkbox-0-2" name="improvements" value="checkbox-0-2" class="checkbox">
                  <label for="checkbox-0-2">In-flight services</label>
                </div>
                <div for="checkbox-0-3">
                  <input type="checkbox" id="checkbox-0-3" name="improvements" value="checkbox-0-3" class="checkbox">
                  <label for="checkbox-0-3">Baggage capacity</label>
                </div>
                <div for="checkbox-0-4">
                  <input type="checkbox" id="checkbox-0-4" name="improvements" value="checkbox-0-4" class="checkbox">
                  <label for="checkbox-0-4">Flight schedule</label>
                </div>
                <div for="checkbox-0-5">
                  <input type="checkbox" id="checkbox-0-5" name="improvements" value="checkbox-0-5" class="checkbox">
                  <label for="checkbox-0-5">Others</label>
                  <input for="checkbox-0-5" type="text" id="checkbox-0-5-others" name="checkbox-0-5-others" pattern="[A-Za-z\s]+">
                </div>
              </div>
            </div>  
          </div>
          <!--#QUESTION_6-->
          <div id="question-6">
            <div class="label">
              <label id="radio-label-1" for="radio-1">How likely is that you would recommend us to a friend?</label>
            </div>
            <div class="input">
              <div id="radio-1">
                <div for="Definitely">
                  <input type="radio" id="Definitely" name="recommend" value="Definitely">
                  <label for="Definitely">Definitely</label>
                </div>
                <div for="Maybe">
                  <input type="radio" id="Maybe" name="recommend" value="Maybe">
                  <label for="Maybe">May be</label>
                </div>
                <div for="Not-sure">
                  <input type="radio" id="Not-sure" name="recommend" value="Not-sure">
                  <label for="Not-sure">Not sure</label>
                </div>
              </div>
            </div>
          </div>
          <!--#QUESTION_7-->
          <div id="question-7">
            <div class="label">
              <label id="radio-label-2" for="radio-2">Would you like to travel with us again?</label>
            </div>
            <div class="input">
              <div id="radio-2">
                <div for="yes">
                  <input type="radio" id="yes" name="travel-again" value="yes">
                  <label for="yes">Yes</label>
                </div>
                <div for="Maybe">
                  <input type="radio" id="no" name="travel-again" value="no">
                  <label for="No">No</label>
                </div>
              </div>
            </div>
          </div>
          <!--#QUESTION_8----#TEXTAREA-->
          <div id="question-8">
            <div class="label">
              <label id="textarea-label" for="textarea">Any Comments or Suggestions?</label>
            </div>
            <div class="input">
              <textarea id="textarea" value="textarea" name="comments" maxlength="250" rows="5" col="10" wrap="hard" placeholder="Enter your comment here..."></textarea>
            </div>
          </div>
        </div>      
        <!--#QUESTIONNAIRE_END-->
        <!--#SUBMIT_INPUT_BUTTON-->
        <div for="submit" id="submit-label">
          <input id="submit" type="submit" value="submit">
          <p id="warn-submit"></p>
        </div>
      </form>
      <!--#FORM_END-->
      <hr>
      <!--#FOOTER-->
      <footer>
        <!-- #CODED_BY_START-->
        <div id="coded-by">
          <div>
            <small>Written and coded by <a href="#" target="_blank"><em id="my-name">Rida</em></a>  © <script type="text/javascript">
    document.write(new Date().getFullYear());
  </script>. All Rights Reversed</small>
          </div>
          <!--#FONT_AWESOME_ICONS_START-->
          <div>
            <a href="#" class="social-button"><i class="fa fa-github"></i></a>
            <a href="#" class="social-button"><i class="fa fa-google-plus"></i></a>
            <a href="#" class="social-button"><i class="fa fa-linkedin"></i></a>
            <a href="#" class="social-button"><i class="fa fa-fire"></i></a>
          </div>
          <!--#FONT_AWESOME_ICONS_END-->
        </div>
        <!-- #CODED_BY_END-->
      </footer>
    </div>
  </body>
</html>
              
            
!

CSS

              
                /*----------------------------------------*/
/*/////////_#DEBUGGING_COLOURS_///////////*/
/*----------------------------------------*/

body {
  background-color: white;
}
#disclaimer {
  background-color: white;
}
header {
  background-color: white;
}
form {
  background-color: white;
}
#question-1,
#question-2,
#question-3,
#question-4,
#question-5,
#question-6,
#question-7,
#question-8 {
  background-color: white;
}
#submit {
  background-color: white;
}
footer {
  background-color: white;
}
#pop-up {
  background-color: white;
}
#personal {
  background-color: white;
}
#questionnaire {
  background-color: white;
}

/*------------------------------------------*/
/*////////////#ADJUSTING_ELEMENTS///////////*/
/*------------------------------------------*/

body {
  margin:0;
  padding:0;
  width:100%;
}

/*#TABLE_0*/
#table-0 {
	display: table;
  table-layout: fixed;
	width: 64vw;
	border: solid;
  border-color: #000080; /* navy blue */
  top: 0vh;
  left: 0vw;
  padding-left:5px;
}
#table-0-row-head,
#table-0-row-1,
#table-0-row-2,
#table-0-row-3,
#table-0-row-4,
#table-0-row-5,
#table-0-row-6 {
	display: table-row;
}
#table-0 .cell {
	display: table-cell;
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: center;
	vertical-align: middle;
}
#table-0 .invisible {
	display: none;
}
#table-0-row-head {
  color: #000080;
  font-weight: bold;
}
/*-*************************/

/*#TABLE_1*/
#table-1 {
	display: table;
  table-layout: fixed;
	width: 64vw;
	border: solid;
  border-color: #000080; /* navy blue */
  top: 0vh;
  left: 0vw;
  padding-left: 5px;
}
#table-1-row-head,
#table-1-row-1,
#table-1-row-2,
#table-1-row-3,
#table-1-row-4 {
	display: table-row;
}
#table-1 .cell {
	display: table-cell;
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: center;
	vertical-align: middle;
}
#table-1 .invisible {
	display: none;
}
#table-1-row-head {
  color: #000080;
  font-weight: bold;
}
/*****************************/

/*#TABLE_2*/
#table-2 {
	display: table;
  table-layout: fixed;
	width: 64vw;
	border: solid;
  border-color: #000080; /* navy blue */
  top: 0vh;
  left: 0vw;
  padding-left: 5px;
}
#table-2-row-head,
#table-2-row-1,
#table-2-row-2,
#table-2-row-3,
#table-2-row-4,
#table-2-row-5 {
	display: table-row;
}
#table-2 .cell {
	display: table-cell;
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: center;
	vertical-align: middle;
}
#table-2 .invisible {
	display: none;
}
#table-2-row-head {
  color: #000080;
  font-weight: bold;
}
/*****************************/

/*#FORM*/
form {
  margin-left: 15vw;
  margin-right: 15vw;
  padding-left: 1vw;
  padding-right: 1vw;
  border: solid;
  height: auto;
  float: center;
}

/*#POP_UP*/
#pop-up {
	display: none;
  position: fixed;
  z-index: 2; /* Sit on top */
  padding-top: 2vh;
  padding-bottom: 2vh;
  top: 0vh;
  left: 20vw;
  border: solid;
  text-align: center;
  vertical-align: middle;
  width: 60vw;
  height: 40vh;
}

/*#POP_UP_ANIMATION_CLASS*/
.pop-up-animation {
  animation-name: animatetop;
  animation-duration: 0.4s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/*#POP_UP_ANIMATION*/
@keyframes animatetop {
    0% {
      top: 0vh;
    }
    100% {
      top: 30vh;
    }
}

/*#OPACITY*/
#opacity {
  z-index: 1;
  position: fixed;
  display: none;
  width: 100vw;
  height: 100vh;
  top: 0vh;
  left: 0vw;
  background-color: rgba(255,255,255,0.5);
}

/*CHECKBOX_0_5_OTHERS*/
#checkbox-0-5-others {
  display: none;
}

/*#LABEL*/
.label {
  display: inline-block;
  text-align: right;
  width: 45%;
  padding: 5px;
  vertical-align: top;
}

/*#INPUT*/
.input {
  display: inline-block;
  text-align: left;
  width: 45%;
  padding: 5px;
  vertical-align: middle;
}

/*#INPUT_TYPES*/
input[type="text"],
input[type="email"],
input[type="postal-code"],
input[type="tel"],
input[type="number"] {
  width: 220px;
  height: 30px;
}

/*#SELECT*/
select {
  width: 220px;
  height: 30px;
}

/*#TEXTAREA*/
textarea {
  width: 220px;
  height: 70px;
}

/*#H1*/
h1 {
  text-align: center;
  vertical-align: middle;
  padding-top: 2px;
  padding-bottom: 2px;
}

/*#H2*/
h2 {
  text-align: center;
  vertical-align: middle;
  padding-top: 2px;
  padding-bottom: 2px;
}

/*#DESCRIPTION*/
#description {
  text-align: center;
  vertical-align: middle;
}

/*#SUBMIT_LABEL*/
#submit-label {
  text-align: center;
  vertical-align: middle;
}

/*#SUBMIT*/
input[type="submit"] {
  width: 200px;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/*#CODED_BY*/
#coded-by {
  text-align: center;
  vertical-align: middle;
  margin-top: 3px;
  margin-bottom: 3px;
}

/*#QUESTIONS*/
#question-1,
#question-2,
#question-3,
#question-4,
#question-5,
#question-6,
#question-7,
#question-8 {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
  float: center;
}

/*#PERSONAL_QUESTIONS*/
#name-container,
#email-container,
#postalcode-container,
#tel-container,
#number-container,
#gender-container,
#describe-container {
  margin-top: 5px;
  margin-bottom: 5px;
}

/*#DISCLAIMER*/
#disclaimer {
  text-align: justify;
  margin: 5px;
  padding: 14px;
}

/*#AGREEMENT*/
#agreement {
  margin-left: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/*#TABLES_LABELS*/
#table-0-label,
#table-1-label,
#table-2-label {
  padding-top: 5px;
  padding-bottom: 10px;
}

/*#WARN*/
.warn {
  color: red;
}

/*#TO_BE_REMOVED_IF_WARNINGS_ADDED*/
#warn-name,
#warn-email,
#warn-postal-code {
  display:none;
}

/*----------------------------------------------------*/
/*//////////////////#DESIGNING_ELEMENTS///////////////*/
/*----------------------------------------------------*/

/*#NAVBAR*/
#navbar {
	position: absolute;
	width:100%;
	height: 10vh;
	left: 0vh;
	top: 0vh;
	background-color: #000080; /* navy blue */
	z-index:1;
}

/*#ICON*/
#icon {
	position:absolute;
	width: 100px;
	height: 145px;
	top:0vh;
	left: 6vw;
	background-color: #349DED; /* light dodger blue */
	z-index: 1;
}

/*#LOGO*/
.logo {
	text-align: center;
	vertical-align: middle;
}
#logo {
		z-index:1;
		width:70%;
		margin-top: 20px;
}
/*************************/

/*BANNER_IMAGE*/
#banner-image {
	position:absolute;
	display: block;
	width:100%;
	height: 335px;
	top:-15vh;
	left: 0vw;
	z-index:0;
	object-fit: cover;
}

/*#CONTENT*/
#content {
  margin-top : 50vh;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
}

/*SUBMIT*/
#submit {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  color: #349DED; /* light dodger blue */
  font-weight: bold;
  background-color: #000080; /* navy blue */
  border-radius: 50px;
  border-color: #000080; /* navy blue */
}

/*#FORM*/
form {
  border-color: #000080; /* navy blue */
  border-width: 5px;
  border-style: double;
  line-height: 1.6;
}

/*#HEADINGS*/
h1, h2, strong {
  color: #000080; /* navy blue */
}

/*#LOGO_TAG*/
#logo-tag {
  font-family: 'Tangerine', cursive;
  font-size: 22px;
  font-weight: 1000;
  color: #000080; /* navy blue */
  line-height: 1.6;
}

/*#FOOTER*/
footer {
  color: #349DED; /* light dodger blue */
  background-color: #000080; /* navy blue */
}

/*#SOCIAL_BUTTONS*/
.social-button {
  padding: 2px;
  color: white;
}

/*#MY_NAME*/
#my-name {
  color: white;
}

/*#CODED_BY*/
#coded-by {
  padding: 8px;
  font-family: 'Dancing Script', cursive;

}

/*#HR*/
hr {
  border-color: color: #000080; /* navy blue */
}

/*#POP_UP*/
#pop-up {
  border-color: #000080; /* navy blue */
  background-color: #349DED; /* light dodger blue */
  color: #000080; /* navy blue */
  border-width: 8px;
  font-family: 'Raleway', sans-serif;
}

/*#THANK_YOU*/
#thank-you {
  font-size: 25px;
  font-weight: bold;
}

/*#DISCLAIMER*/
#disclaimer {
  color: #000080; /* navy blue */ 
  background-color: #349DED; /* light dodger blue */
  font-weight: 550;
}

/*#STRONG*/
strong {
  font-weight: 1000;
  font-size: 20px;
}

/*#CUSTOMIZED_CHECKBOXES_&_RADIOBUTTONS*/

/*_COULD_NOT_UNDERSTAND: WOULD_ADD_LATER_*/


/*----------------------------------------------------*/
/*///////////////////#MEDIA_QUERIES///////////////////*/
/*----------------------------------------------------*/

/*#MEDIA_QUERY_FORM_&_TABLES_BANNERIMAGE_1000*/
@media screen and (max-width: 1000px) {
  form {
    margin-left: 8vw;
    margin-right: 8vw;
  }
  #table-0,
  #table-1,
  #table-2 {
    width: 74vw;
  }
  #banner-image {
    height: 
  }
}

/*#MEDIA_QUERY_TABLE_0_640*/
@media screen and (max-width: 640px) {
	#table-0-row-head {
		display: none;
	}
	#table-0 .invisible, #table-0 .visible {
		display: inline;
	}
	#table-0 .cell {
		display: table-row;
		height: 5vh;
		text-align: left;
	}
	#table-0-row-1,
  #table-0-row-2,
  #table-0-row-3,
  #table-0-row-4,
  #table-0-row-5,
  #table-0-row-6 {
		display: table;
		margin-bottom: 15px;
		border: solid;
    border-color: #000080; /* navy blue */
		width: 68vw;
    padding: 8px;
	}
	#table-0 {
		border: none;
	}
}

/*#MEDIA_QUERY_TABLE_1_640*/
@media screen and (max-width: 640px) {
	#table-1-row-head {
		display: none;
	}
	#table-1 .invisible, #table-1 .visible {
		display: inline;
	}
	#table-1 .cell {
		display: table-row;
		height: 5vh;
		text-align: left;
	}
	#table-1-row-1,
  #table-1-row-2,
  #table-1-row-3,
  #table-1-row-4 {
		display: table;
		margin-bottom: 15px;
		border: solid;
    border-color: #000080; /* navy blue */
		width: 68vw;
    padding: 8px;
	}
	#table-1 {
		border: none;
	}
}

/*#MEDIA_QUERY_TABLE_2_640*/
@media screen and (max-width: 640px) {
	#table-2-row-head {
		display: none;
	}
	#table-2 .invisible, #table-1 .visible {
		display: inline;
	}
	#table-2 .cell {
		display: table-row;
		height: 5vh;
		text-align: left;
	}
	#table-2-row-1,
  #table-2-row-2,
  #table-2-row-3,
  #table-2-row-4,
  #table-2-row-5 {
		display: table;
		margin-bottom: 15px;
    border:solid;
		border-color: #000080; /* navy blue */
		width: 68vw;
    padding: 8px;
	}
	#table-2 {
		border: none;
	}
}

/*#MEDIA_QUERY_LABELS_&_INPUTS_SELECT_TEXTAREA_590*/
@media screen and (max-width: 590px) {
  .label {
    display: block;
    text-align: left;
    vertical-align: middle;
    width: 100%;
  }
  .input {
    display:block;
    width: 100%;
  }
  input[type="text"],
  input[type="email"],
  input[type="postal-code"],
  input[type="tel"],
  input[type="number"] {
    width: 270px;
  }
  select {
    width: 270px;
  }
  textarea {
    width: 270px;
  }
}

/*#MEDIA_QUERY_FORM_&_TABLES_440*/
@media screen and (max-width: 440px) {
  form {
    margin-left: 4vw;
    margin-right: 4vw;
  }
  #table-0-row-1,
  #table-0-row-2,
  #table-0-row-3,
  #table-0-row-4,
  #table-0-row-5,
  #table-0-row-6 {
		width: 70vw;
	}
  #table-1-row-1,
  #table-1-row-2,
  #table-1-row-3,
  #table-1-row-4 {
		width: 70vw;
  }
  #table-2-row-1,
  #table-2-row-2,
  #table-2-row-3,
  #table-2-row-4,
  #table-2-row-5 {
		width: 70vw;
	}
}

/*#MEDIA_QUERY_FORM_INPUTS_SELECT_TEXTAREA_&_TABLES_390*/
@media screen and (max-width: 390px) {
  form {
    margin-left: 3vw;
    margin-right: 3vw;
  }
  input[type="text"],
  input[type="email"],
  input[type="postal-code"],
  input[type="tel"],
  input[type="number"] {
    width: 200px;
  }
  select {
    width: 200px;
  }
  textarea {
    width: 200px;
  }
  #table-0-row-1,
  #table-0-row-2,
  #table-0-row-3,
  #table-0-row-4,
  #table-0-row-5,
  #table-0-row-6 {
		width: 68vw;
	}
  #table-1-row-1,
  #table-1-row-2,
  #table-1-row-3,
  #table-1-row-4 {
		width: 68vw;
  }
  #table-2-row-1,
  #table-2-row-2,
  #table-2-row-3,
  #table-2-row-4,
  #table-2-row-5 {
		width: 68vw;
	}
}

/*#MEDIA_QUERY_BANNER_IMAGE_&CONTENT_700*/
@media screen and (max-width: 700px) {
  #banner-image {
    height: 300px;
  }
  #content {
    margin-top: 45vh;
  }
}

/*#MEDIA_QUERY_BANNER_IMAGE_&CONTENT_900*/
@media screen and (max-width: 900px) {
  #banner-image {
    height: 315px;
  }
  #content {
    margin-top: 50vh;
  }
}
/*--------------------------------------------*/
              
            
!

JS

              
                ////////////////////////////////////////
// Get the THANK YOU pop up on SUBMIT //
////////////////////////////////////////
var submit = document.getElementById("submit");
submit.onclick = function() {
  submitFunction();
};

function submitFunction() {
  var body = document.getElementById("body");
  var agree = document.getElementById("agree");
  var name = document.getElementById("name");
  var email = document.getElementById("email");
  var postalCode = document.getElementById("postal-code");
  var opacity = document.getElementById("opacity");
  var popUp = document.getElementById('pop-up');
  if(!agree.checkValidity()) {
    document.getElementById("warn-agree").innerHTML = agree.validationMessage;
  } else if(!name.checkValidity()) {
    document.getElementById("warn-name").innerHTML = name.validationMessage;
  } else if(!email.checkValidity()) {
    document.getElementById("warn-email").innerHTML = email.validationMessage;
  } else if(!postalCode.checkValidity()) {
    document.getElementById("warn-postal-code").innerHTML = postalCode.validationMessage;
  } else {
    popUp.style.display = "block";
    opacity.style.display = "block";
    popUp.classList.add('pop-up-animation');
    event.preventDefault();
  }
}

/////////////////////////////////////////
////////////#CHECKBOX_0_5_OTHERS////////////
/////////////////////////////////////////
var others = document.getElementById("checkbox-0-5");
others.onclick = function() {
  othersFunction();
};

function othersFunction() {
  if(document.getElementById("checkbox-0-5").checked) {
     document.getElementById("checkbox-0-5-others").style.display = "block";
  } else {
    document.getElementById("checkbox-0-5-others").style.display = "none";
  }
}

/////////////////////////////////////////
////////////#AGREE_WARNING///////////////
/////////////////////////////////////////
var agree = document.getElementById("agree");
agree.onclick = function() {
  agreeWarnFunction();
};

function agreeWarnFunction() {
  var agree = document.getElementById("agree");
  if(document.getElementById("agree").checked) {
     document.getElementById("warn-agree").innerHTML = "";
  } else {
    document.getElementById("warn-agree").innerHTML = agree.validationMessage;
  }
}

/////////////////////////////////////////////////
//////////////#INPUT_WARNINGS////////////////////
/////////////////////////////////////////////////

//_COULD_NOT_UNDERSTAND: WOULD_ADD_LATER_//

///////////////////////////////////////////////////

///////////////////////////////////////////
//////////#BANNER_IMAGE_CHANGE/////////////
//////////////////////////////////////////


var images = new Array();
images[0] = "https://res.cloudinary.com/billu/image/upload/v1531664327/myFolder/pexels-photo-314726.jpg";
images[1] = "https://res.cloudinary.com/billu/image/upload/v1531665109/myFolder/wing-plane-flying-airplane-62623.jpg";
images[2] = "https://res.cloudinary.com/billu/image/upload/v1531665118/myFolder/pexels-photo-443430.jpg";
images[3] = "https://res.cloudinary.com/billu/image/upload/v1531680464/myFolder/plane.jpg";
images[4] = "https://res.cloudinary.com/billu/image/upload/v1531665124/myFolder/pexels-photo-730778.jpg";

var imgCount = 0;

function changeBannerImage() {
	document.getElementById("banner-image").src = images[imgCount];
	if(imgCount < 5) {
		imgCount = imgCount + 1;
	} else {
		imgCount = 0;
	}
}

window.onload = function() {
	setInterval(function(){changeBannerImage()},3000);
}
              
            
!
999px

Console