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

              
                <h1 id="title">
  Coding Survey Form</h1>
<p id="description">Share a little of your coding knowledge by filling out this form.</p>
<h2>Fill out the following:</h2>
<form id="survey-form" action="/test-link">

  <label id="name-label">
    <input class = "text-input" id = "name" type = "name" placeholder = "Name" required>
    </label>

  <label id="email-label">
    <input class = "text-input" id = "email" type = "email" placeholder = "Email" required>
      </label>

  <label id="number-label">
    <input class = "text-input" id = "number" type = "number" placeholder = "Age" min = "13" max = "100" required>
    </label>

  <label id="exp-label">
    <input class = "text-input" id = "experience" type = "number" placeholder = "Years Coding" min  = "0" required>
    </label>
  <section style="overflow:hidden;">S</section>

  <h2>Which is your favorite section of freecodecamp</h2>

  <select id="dropdown">
    <option>Responsive Web Design</option>
    <option>Javascript Algorithms and Data Sturctures</option>
    <option>Front End Libraries</option>
    <option>Data Visualization</option>
    <option>APIS and Microservices</option>
    <option>Information and Security</option>
    <option>Coding Interview Prep</option>
  </select>

  <h2>Would you recommend freecodecamp to a friend?</h2>

  <div id="radios">
    <label for="Yes">
    <input id = "Yes" type = "radio" name = "rec" checked value = "y">Yes
  </label>

    <label for="No">
    <input id = "No" type = "radio" name = "rec" value = "n">No
  </label>

    <label for="Maybe">
    <input id = "Maybe" type = "radio" name = "rec" value = "m">Maybe
  </label>
  </div>

  <h2>Choose the following coding languages you know</h2>
  <div id="checkboxes">
    <label for = "HTML">
    <input id = "HTML" type="checkbox" value="0">HTML 
    </label><span>....................</span> <label for = "CSS">CSS
    <input id = "CSS" type="checkbox" value="1"></label><br>
    <label for = "JS"><input id = "JS" type="checkbox" value="2">JS</label> <span>..................</span> <label for = "PYTHON">PYTHON
    <input id = "PYTHON" type="checkbox" value="3"></label><br>
    <label for = "C++"><input id = "C++" type="checkbox" value="4">C++</label> <span>.....................</span> <label for = "JAVA">JAVA
    <input id = "JAVA" type="checkbox" value="5"</label><br>
    <label for = "C#"><input id = "C#" type="checkbox" value="6">C#</label> <span>...........................</span> <label for = "C">C
    <input id = "C" type="checkbox" value="7"></label><br>
    <label for = "MongoDB"><input id = "MongoDB" type="checkbox" value="8">MongoDB</span> <span>...........</span> <label for = "RUBY">RUBY
    <input id = "RUBY" type="checkbox" value="9"></label><br>
    <label for = "SQL"><input id = "SQL" type="checkbox" value="10">SQL</label> <span>...................</span> <label for = "Other">Other
    <input type="checkbox" id = "Other" value="11"></label>
  </div>

  <h2></h2>

  <h2>Any additional comments?</h2>

  <textArea cols="10" rows="5" id="comments" placeholder="comments..."></textArea>

  <input id="submit" type="submit">

</form>
<footer style="font-family:sans-serif; font-size:12px;">Copyright © ConnerOw1115 2019</footer>
              
            
!

CSS

              
                body {
  font-family: Righteous;
}
h1,
h2,
h3,
h4 {
  text-align: center;
}
#description {
  text-align: center;
}
.text-input {
  margin: 3% 0% 0% 20%;
  width: 20%;
  border-radius: 0px;
  border: none;
  padding: 10px;
  box-shadow: 0px 5px 0 0 green;
  background: white;
}
#submit {
  width: 20%;
  padding: 2%;
  font-family: Righteous;
  font-size: 15px;
  margin: 5% 40% 0% 40%;
  background: white;
  border-radius: 2px;
  border: none;
  box-shadow: 0 0 0px 5px green;
}
#submit:hover {
  cursor: pointer;
}
[type = "radio"] {
  margin-left:10%;
  margin-right:2%;
  margin-bottom:10%;
}
#dropdown {
  margin-left: 25%;
  max-width: 75%;
  min-width: 30%;
}
[type="checkbox"] {
  margin: 5px;
}
#comments {
  margin: 3% 0% 0% 20%;
  width: 60%;
  height: 30%;
  border-radius: 0px;
  border: none;
  padding: 10px;
  box-shadow: 0px 5px 0 0 green;
  background: white;
}
#checkboxes {
  text-align: center;
}
span {
  font-size: 20px;
  opacity: 0;
}
#radios {
  width:50%;
  margin-left:25%;
}
footer {
  margin-top: 10%;
}
section {
  font-size: 60px;
  opacity: 0;
}

              
            
!

JS

              
                
              
            
!
999px

Console