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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> 
<h1 id="title"> Survey: Where Would You Start Your Digital Nomad Journey? </h1>
<div id="form-outer">
  <div>
<p id="description"> A Great Deal of People Are Choosing to Live a Nomadic Life Style in The Digital Era We Live In. I.E. Tim Ferris. Where would you like to start? </p>
  </div>
  <form id="survey-form">
   <div class="rowTab">
    <label class="labels" for="name" id="name-label"> *Name:</label> 
    <input required autofocus type="text" name="name" id="name" placeholder="Enter your name" required > 
    </div>
    <div class="rowTab"> 
      <label for="email" id="email-label"> *Email:</label> 
   <input type="email" required ="email" id="email"  required placeholder="Enter your email">
    </div> 
    <div class="rowTab">
      <label for="number" id="number-label"> *Phone Number:</label>
    <input type="number" name="number" id="number" min="1" max="99999999999" placeholder="xxx-xxx-xxxx" required>
    </div>
    <br> 
    <p> Please Choose The Location You'd Like To Begin Your Journey.
    <div class="option-grid">
  <select id="dropdown">
  <option value="1">Asia</option>
  <option value="2"> Europe</option>
  <option value="3">North America</option>
  <option value="4">South America</option>
  </select>
    </div>
    <div id="question2">
      <p>
        Are you 100% Sure You Want To Work Remotely as a "Digital Nomad?"
    </div>
    <div >
      <label for="radio1">Yes</label><input id="radio1" class="radio-button" type="radio" name="response" value="yes" checked>
      <label for="radio2">No</label><input id="radio2" class="radio-button" type="radio" name="response" value="no">
      <label for="radio3">Not Sure</label><input id="radio3" class="radio-button" type="radio" name="response" value="not_sure">
    </div>  
    <div>
    <div class="flexunit">
    <p>Do you plan on doing any of the following?: </p>
    <div class="option-grid">
      <label for="instrumental">Start A Business</label><input type="checkbox" value="instrumental">
      <label for="vocal">Complete a Digital Nomad Program</label><input type="checkbox" value="vocal">
      <label for="general">Travel in groups</label><input type="checkbox" value="general">
     </div>
      <div>
    <textarea class="text-box" type="text-area" rows="4" cols="50" id="textarea"></textarea>
      </div>
    <div>
<button id="submit" type="submit">Submit</button>
    </div>
</div>



              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Raleway:400,500);

html, body {
  background-color: #EBF5FB;
  text-align: center;
  font-family: 'Raleway', Helvetica, sans-serif;
  min-width: 320px;
}

.rowTab {
  display: inline-block;
}

#description {
  font-size: 12px;
}




              
            
!

JS

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

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - 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. 

              
            
!
999px

Console