Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


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.


  <link rel="stylesheet" type="text/css" ahref="#">
  <title> Dear 'Merica </title>
  <main id="main">
  <div id="main-container">
    <h1 id="title"> Dear 'Merica</h1>
    <p id="description">If you had 250 words to inspire the nation, what would you say?</p>
    <div id="form-container">
     <form id="survey-form">
       <label id="name-label" for="name">Name<input id="name" type="name" placeholder="Name" name="name" required ></label>
        <label id="email-label" for="email">Email<input id="email" type="email" placeholder="Email" name="email" required ></label><br>
       <label for="hometown">Hometown<input id="hometown" type="text"></label>
       <label for="hometown">Current City<input id="hometown" type="text"></label><br>
       <label id="number-label" for="number">Age<input id="number" type="number" placeholder="Age"min="12" max="100" name="age"></label>
  <label for="dropdown">Political Interest
  <select id="dropdown" type="dropdown">
    <option value="Left">Left</option>
    <option value="Right">Right</option>
    <option value="Center">Center</option>
       <p>What Race Are You?</p>
       <label for="black">Black<input type="radio" id="black" name="race" value="black"></label>
       <label for="white">White<input type="radio" id="white" name="race" value="white"></label>
       <label for="latinx">Latinx<input type="radio" id="latinx" name="race" value="latinx"></label>
       <label for="asian">Asian<input type="radio" id="asian" name="race" value="asian"></label>
       <label for="indian">Indian<input type="radio" id="indian" name="race" value="indian"></label>
       <label for="middleEastern">Middle Eastern<input type="radio" id="middleEastern" name="race" value="Middle Eastern"></label>
       <label for="prefNotToSay">Prefer Not To Say<input type="radio" id="prefNotToSay" name="race" value="Prefer Not To Say"></label><br>
       <p>Social Interests (select all that apply)</p>
       <label for="healthcare">Healthcare<input id="healthcare" type="checkbox" name="interest" value="healthcare"></label><br>  
       <label for="Wealth Inequality">Wealth Inequality<input id="wealthInequality" type="checkbox" name="interest" value="wealth inequality"></label><br>
       <label for="Racism">Racism<input id="racism" type="checkbox" name="racism" value="racism"></label><br>
       <label for="employment">Employment<input id="employment" type="checkbox" name="employment" value="employment"></label><br>
       <label for="housing">Housing<input id="housing" type="checkbox" name="housing" value="housing"></label><br>
       <label for="education"> Education<input id="education" type="checkbox" name="education" value="education"></label><br>
       <label for="sexism">Sexism<input id="sexism" type="checkbox" name="sexism" value="sexism"></label><br>
       <p> Share Your Message! </p>
  <textarea>Dear America...</textarea><br>
  <button id="submit"> Submit </button>
<script src=""></script>



  color: black;
  font-size: 16px;
  background-color: white;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;

  margin: 5px;

  font-size: 14px;
  font-size: 17px;
  font-weight: bold;
  margin: 10px;
  width: 50%;
  height: 100%;
  opacity: 90%;
  padding: 20px;
  margin: 30px auto;
  width: 70%;
  margin: 0 auto;
  text-align: center;
  font-size: 45px;
  width: 100%;
  height: 100px;


                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.