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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />
  <link href="style.css" rel="stylesheet" type="text/css" />
  <link href="https://fonts.googleapis.com/css?family=Exo+2&display=swap" rel="stylesheet" />

  <meta name="viewport" content="width=device-width, initial-scale=1" />

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <title>Explore</title>
</head>

<body>
  <div class="wrapper">
    <h1 class="title">Question Form</h1>
    <br />
    <main class="formStyle">
      <form class="needs-validation was-validated contract-form" action="MAILTO:abdul07094@gmail.com" method="POST" enctype="text/plain" novalidate>
        <div class="row">
          <div class="form-group col">
            <label for="forename">Forename</label>
            <input type="text" id="forename" name="forename" class="form-control is-invalid" required />
            <div class="valid-feedback">Looks good!</div>
          </div>

          <div class="form-group col">
            <label for="surename">Surename</label>
            <input type="text" id="surename" name="surename" class="form-control" required />
          </div>
          <div class="valid-feedback">Looks good!</div>
        </div>

        <div class="form-group">
          <label for="exampleInputEmail1">Email address</label>
          <input type="text" class="form-control" name="Email" id="email" placeholder="example@explorewonders.com" required />
          <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small
            >
          </div>

          <div class="form-group">
            <label for="gender">Gender</label>
            <select name="gender" id="gender" class="form-control" required>
              <option value="male">Male</option>
              <option value="female">Female</option>
            </select>
          </div>

          <div class="form-group">
            <label for="gemLocation">Subject</label>
            <input
              type="text"
              id="subject"
              name="subject"
              placeholder="subject"
              class="form-control"
              required
            />
          </div>

          <div class="form-group">
            <label for="bodyMessage">Message</label>
            <textarea
              class="form-control"
              rows="5"
              id="bodyMessage"
              name="bodyMessage"
              placeholder="I like the form..."
              required
            ></textarea>
          </div>

          <div class="form-check">
            <input
              type="checkbox"
              id="accept-terms"
              class="form-check-input"
              required
            />
            <label for="accept-terms" class="form-check-label"
              >Accept Terms & Conditions</label
            >
          </div>
          <br />
          <button
            type="button"
            id="sendEmail"
            name="submit"
            class="btn btn-outline-success"
          >
            Submit
          </button>
        </form>
      </main>
      
    </div>
    <div style="margin-bottom: 10%"></div>
    <br />
    <footer class="footer">
      <div class="footerText">
        <p>
          Copyright 2019, all rights reserved. Made with heart in
          London.<span>
            Get in touch:
            <a href="mailto: abdul07094@gmail.com"
              >abdul07094@gmail.com</a
            > </span
          >>
        </p>
      </div>
    </footer>
  </body>
</html>
              
            
!

CSS

              
                body{
  background: lightblue;
}
.wrapper {
  width: 90%;
  margin: 0 auto;
}


.title {
  font-size: 40px;
  margin-top: 2%;
  margin-bottom: 2%;
  text-align: center;
}

/* Footer */
.footer {
  padding: 20px;
  height: auto;
  background-color: grey;
}

.footerText {
  text-align: justify;
  font-size: 10px;
}


              
            
!

JS

              
                
              
            
!
999px

Console