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 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>
  <head>
    <title>Shadow Airlines - Contact Us</title>
    <link rel="icon" type="image/x-icon" href="./favicon.ico/contact.ico" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="styles.css" />
    <link rel="stylesheet" href="./Font Awesome Library/css/all.css" />
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  </head>
  <body>
    <header>Shadow Travel</header>
    <nav>
        <a href="index.html"><i class="fas fa-home fa-4x" style="color:black; text-shadow: 2px 2px 4px;"></i></a><br><br>
        <a href="trips.html"><i class="fas fa-plane fa-4x" style="color:black; text-shadow: 2px 2px 4px;"></i></i></a><br><br>
        <a href="contact.html"><i class="far fa-address-book fa-4x" style="color:black; text-shadow: 2px 2px 4px;"></i></a><br><br>
      </nav>
      <h3>Welcome To Shadow Travel Agency</h3><br>
      <div id="outlinebox">
        <form id="mainform3" action="">
            <legend>Please Leave A Message And Your Email Address</legend>
            <input type="text" id="finalform"><br><br>
            <button id="submit2" type="button" onclick="parseUserDataAgain()">Submit</button>
        </form>
        <p id="res2"></p>
        </div>
    <footer id="footer2">Created By Austin Spraggins/Shadow Gaming&copy;</footer>
    <script src="contact.js"></script>
  </body>
</html>
              
            
!

CSS

              
                header {
 color: #111;
 font-family: 'Helvetica Neue', sans-serif;
 font-size: 80px;
 font-weight: bold;
 letter-spacing: -1px;
 line-height: 1;
 text-align: center;
 text-shadow: 2px 2px 4px;
}

#footer1, #footer2 {
    position: absolute;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-style: italic;
    text-shadow: 1px 0px 0px;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
}

#footer3 {
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-style: italic;
    text-shadow: 1px 0px 0px;
    bottom: 0;
    width: 100%;
}

p, h1 {
    font-family: 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 26px;
    text-indent: 30px;
}

h3 {
    font-family: 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 26px;
    text-indent: 30px;
}

nav {
      position: fixed;
      left: 0;
      z-index: auto;
      display: flex;
      justify-content: space-around;
      flex-direction: column;
      height: 110vh;
}

body {
    background-color: RGB(223, 207, 190);
    text-align: center;
}

#form1, #fullname, #fulladdress, #pnumber1, #email1, #select1, #addressform, #sameAddress1, #mainform3, #email4, #form3 {
    padding:5px;
    border-radius:5px;
    box-shadow: 0, 2px 2px 2px;
    font-family: Arial, Helvetica, sans-serif;
}

#formlabel, #fullname1, #fulladdress1, #fullnumber1, #fullemail1, #select1, #article1, #mainform3, #formlabel3 {
    font-family: 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 26px;
    text-indent: 30px;
    margin: 0;
}

#submit1, #submit2, #submit3 {
    width: 150px;
    height: 36px;
    border-radius: 18px;
    background-color: #1c89ff;
    border: solid 1px transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: all .1s ease-in-out;
    box-shadow: 0px 4px 8px black;
}

#submit2:hover {
      background-color: transparent;
      border-color: #fff;
      transition: all .1s ease-in-out;
}

#outlinebox, #article1 {
  width: 320px;
  padding: 10px;
  border: 5px solid gray;
  margin: auto;
}

              
            
!

JS

              
                function parseUserDataAgain() {
    var messageBox = document.getElementById("finalform");
    var res = "Message Received" + "<br>" + "Thank You!";
    document.getElementById("res2").innerHTML = res;
}
              
            
!
999px

Console