cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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>

<head>
  <meta charset="UTF-8">
  <title>Udemy Survey Form</title>
  <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>

<body>
  <header>
    <img src="https://www.udemy.com/staticx/udemy/images/v6/logo-coral.svg" />
    <h1 id="title">Udemy Complaint Form</h1>
    <header>
      <div class="container">
        <h2>Complaint Form
          <h2>
            <form id="survey-form" class="form-horizontal">
              <div class="form-row">
                <div  class="col-lg-6 col-m-6">
                  <label id="name-label" class="d-flex justify-content-end">Name:</label>
                </div>
                <div class="col">
                  <input id="name" type="text" class="form-control" placeholder="Full name" required>
                </div>
              </div>
              <div id="gender-section" class="form-row">
                <div   class="col-lg-6">
                  <label id="gender-Label"  class="d-flex justify-content-end">Gender:</label>
                </div>
                <div id=col class="d-flex justify-content-start">
                  <div id="radio" class="col-12 col-sm-6 ">

                    <div class="form-check">
                      <div> <input class="form-check-input" type="radio" name="exampleRadios" id="male" value="option1" checked></div>
                      <div><label id="maleLabel" class="form-check-label" for="exampleRadios1">
     Male
                      </label></div>
                    </div>

                    <div  class="form-check">
                      <div> <input class="form-check-input" type="radio" name="exampleRadios" id="famale" value="option1"></div>
                      <div><label class="form-check-label" for="exampleRadios1">
                     Female
                      </label></div>
                    </div>
                    <div class="form-check">
                      <div><input class="form-check-input" type="radio" name="exampleRadios" id="other" value="option1"></div>
                      <div><label class="form-check-label" for="exampleRadios1">
                     Other
                      </label></div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-row">
                <div class="col-12 col-md-6">
                  <label id="email-label" class="d-flex justify-content-end" for="email" type="email">Email:</label>
                </div>
                <div class="col">
                  <input type="email" class="form-control" id="email" placeholder="Enter email" required>
                </div>
              </div>
              <div class="form-row">
                <div class="col-12 col-md-6">
                  <label class='d-flex justify-content-end' for="inputState">What best describes your current role?</label>
                </div>
                <div class="col">
                  <select id="dropdown" class="form-control d-flex ">
                  <option>Full-Time</option>
                  <option>Part-Time</option>
                  <option>Student</option>
                </select>
                </div>
              </div>
              <div class="form-row">
                <div class="col-12 col-md-6">
                  <label id="number-label" for="example-tel-input" class="d-flex justify-content-end col-form-label">Telephone</label>
                </div>
                <div class="col">
                  <input class="form-control" type="number" value="1-(555)-555-5555" size="11" id="number" placeholder="1-951-909-6666" size="20" min="0" max="9" minlength="9" maxlength="14" required>
                </div>
              </div>
              <div class="catagories">
                <h3>Select catogories</h3>
                <div class="form-check-inline">
                  <label class="form-checkbox-label">
                   <input type="checkbox" value="Teacher  Responsiveness" class="form-check-input" >Teacher  Responsiveness
                </label>
                </div>
                <div class="form-check-inline">
                  <label class="form-checkbox-label">
                   <input type="checkbox" value="Abuse" class="form-check-input" >Abuse
                </label>
                </div>
                <div class="form-check-inline">
                  <label class="form-checkbox-label">
                   <input type="checkbox" value="User Interface" class="form-check-input" >User Interface
                </label>
                </div>
                <div class="form-check-inline">
                  <label class="form-checkbox-label">
                   <input type="checkbox" value="Other" class="form-check-input" >Other
                </label>
                </div>
              </div>
              <div class="textarea">
                <div class=" col catagories form-group">
                  <textarea class="form-control" id="textArea" rows="3" placeholder="Tell us how we can improve"></textarea>
                </div>
              </div>
              <button id="submit" type="form" class="btn btn-primary">Submit</button>
            </form>
      </div>
      <p id="description">This form will be used to distribute your personal information</p>
</body>

</html>
            
          
!
            
              $colorBlack-color: #0e0816;
$colorGray-color: #e7dfdd;
$colorPurple-color: #a239ca;
$colorBlue-color: #4717f6;

/*test purposes only*/
.align {
  text-aign: center;
}

body {
  background-color: $colorBlack-color;
  font-family: "Montserrat", sans-serif;
  padding: 15px;
}


header {
  text-align: center;
  h1 {
    font-weight: 900;
    color: $colorGray-color;
    letter-spacing: 4px;
  }
  img {
    height: 3.5em;
  }
}

.container {
  background-color: $colorGray-color;
  margin-top: 22px;
  padding-bottom: 5px;
  max-width: 40em;
  min-width: 4em;
  
  
  #gender-section {
    padding: 20px;

    input[type="radio"]{
      margin-top:12px;
    }
  }

  p {
    color: $colorGray-color;
  }

  h2 {
    font-size: 1.7em;
    padding-top: 7px;
  }
  label{
    display:block;
  }
  .form-row {
    margin-top: 10px;
  }
  label {
    font-size: 14px;
    padding-top: 10px;
  }
  .catagories {
    margin-top: 20px;
  }
  .textarea {
    padding: 10px;
  }
  button {
    background-color: $colorPurple-color;
    @extend .catagories;
    padding: 10px;
  }
  #col{
    justify-content:start;
  }

  @media (max-width: 769px) {
    label{
      justify-content:center !important;
    }

    label > #gender-section{
      justify-content:center;
    }
  }
  @media (max-width: 991px) {
     #gender-Label{
      justify-content:center !important;
    }
        input[type="radio"]{
       justify-content:center;
           display:block;      
     }
        #gender-section{
      justify-content:center;
    }
        label{
      justify-content:center !important;
    }
  }
}

            
          
!
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.
Loading ..................

Console