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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <img class="center" src="http://www.gsh.al/wp-content/uploads/2018/02/Alien-abduction-607250.jpg" alt="aliens">

<body>
<head>
    <div class="container">
      <h1 id="title"><i>Survey Form for:</i><br> Close Encounters of the Third Kind</h1>
    </div>
    <p id="description"><b><i><u>Welcome to the X-files. Helps us gather information about<br>ALIENS!<hr></hr></b></i>
      </u>
    </p></head> 
    <form action="/action_page.php" id="survey-form" method="post">
      <fieldset class="content"><b><h2>What happened during your first abduction?</b></h2>
        <label for="probed">Badly Probed</label>
        <input id="probed" type="radio" name="levels" value="probed"><br>
        <label for="">Fell In Love</label>
        <input id=" love" type="radio" name="levels" value="love"><br><label for="intermediate"><b>Submited</b></label>
        <input id="intermediate" type="radio" name="levels" value="intermediate">
        <hr>
        <h4>After your Experience you felt:</h4>
        <label for="pain">In Pain</label>
        <input id=" pain" type="checkbox" name="attribute" value="pain"><br><label for="ET">Like E.T. fell short</label>
        <input id="ET" type="checkbox" name="attribute" value="ET"><br><label for="mush">That E.T. is NOT a romantic</label>
        <input id="mush" type="checkbox" name="attribute" value="mush">

      </fieldset>
<h3>Earthling ID:</h3> <label id="name-label">I don't want this text here</label><br>
      <input id="name" type="text" name="name" placeholder="Enter your Name" required pattern="[a-z]{1,99}"
             title="Field should contain letters only"><br></br>
  <label id="email-label">But codecamp doesn't let me<br>pass user story#8 otherwise</label><br>
<input type="email" name="email" id="email" class="input-field" required placeholder="Enter your Email"><br>
    <label id="number-label">So here it is</label> <div class="rightTab">
        <input type="number" name="age" id="number" min="1" max="125" class="input-field options" placeholder="Age"><br></br><label for="hobies"></label><select id="dropdown" name="hobbies" class=" dropdown options"><option disabled value>Hobies</option>
      <option  value="clown">Circus Clown</option>
      <option value="apprentice">Pebble Collector </option>
      <option value="learner">Perinwinkles admirer</option>
      <option value="preferNo">It's complicated</option>
      <option value="other">Other</option></select>
      
<br><h3>Gender</h3><label for="Female">Female</label>
<input id="Female" type="radio" name="items" value="Female"><br>
      <label for="Male">Male</label>
      <input id="Male" type="radio" name="items" value="Male"><br>
      <label for="gender">Attack Helicopter</label>
      <input id="gender" type="radio" name="items" value="gender"><br>
      <label for="gen">Unicorn With a Bad Case of the Skitles</label>
      <input id="gen" type="radio" name="items" value="gen"><br>
      <label for="ged">E.T. Fondler</label>
      <input id="ged" type="radio" name="items" value="ged"><br>  <label for="subject">Tell us why we should consider your application for:<b><u>ABDUCTION:</label></br></u>
    <textarea class="subject" rows="4" cols="50" id="subject" placeholder="Leave a comment" ></textarea><button id="submit" value="submit"><b>Take Me To Your Leader</b></button><br></form>
 </body>
            
          
!
            
              body {
  width: 100%;
  background-image: url("http://betweenbirdsofprey.icdif.com/wp-content/uploads/2015/10/3a2e93a9c9af9cbc0e0f20f56f2502d7_large.jpeg");
  background-repeat: no-repeat;
  background-size: absolute;
}
img {
  border-width: 100%;
  height:900px;
  border: 1px solid lightcyan;
  border-radius: 47px;
  color: white;
  box-shadow: 0 25px 25px, 0 15px 15px white;
}

h1 {
  font-family: Georgia, Times, senrif;
  text-align: center;
  position: sticky;
}
h2 {
  font-family: Georgia, Times, senrif;
  color: #76ff03;
}
h3 {
  color: #64dd17;
}
h4 {
  color: #64dd17;
  text-align: right;
  position: sticky;
}
p {
  font-family: Georgia, Times, senrif;
  position: sticky;
  text-align: center;
  color: #64dd17;
}
.container {
  width: 100%;
  height: 170px;
  background-image: url(http://renewdev.com/wp-content/uploads/2016/09/4-300x184.png);
  background-size: 20%;
  background-position: -120% 70px, 0px 0px, 0px 0px;
  background-repeat: no-repeat, repeat-x, repeat-x;
  animation: animate-background linear 12s infinite;
}
@keyframes animate-background {
  from {
    background-position: -120% 70px, 0px 0px, 0px 0px;
  }

  to {
    background-position: 290% 70px;
  }
}
#title {
  color: gold;
}
.center {
  width: 100%;
  opacity: 0.5;
  position: absolute;
  margin-bottom: 3px;
}
form {
  display: inline-block;
  width: 100%;
  height: 850px;
  padding: 15px;
  float: left;
  text-align: left;
  font-family: Georgia, Times, arial;
  color: #ffd740;
  position: sticky;
  font-size: 15px;
  font-style: bold;
  margin-top: 1px;
}
.content {
  float: right;
  text-align: right;
  margin-top: 1px;
  font-size: 20px;
}
.options {
  color: #212121;
}
button {
  width: 170px;
  height: 50px;
  border: 2px solid #ccc;
  border-radius: 4px;
  border-color: lightcyan;
  font-family: Georgia, Times, senrif;
  font-size: 12px;
  font-style: bold;
  color: black;
}
button:hover {
  width: 300px;
  height: 100px;
  background-image: url("https://cdn.movieweb.com/img.news.tops/NEA9ARwrPHqQEF_2_b/Real-Alien-Invasion-10-Years-Stephen-Hawking-Warning.jpg");
  box-shadow: 0 25px 25px, 0 15px 15px white;
}
textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  border-color: lightcyan;

  background-color: #e0e0e0;
  resize: none;
  position: relative;
}
.subject {
  color: #212121;
}
footer {
  width: 100px;
  height: 10px;
}

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

Console