Fork Me! FCC: Test Suite Template

In this example below you will see how to do a Fork Me! FCC: Test Suite Template with some HTML / CSS and Javascript

This awesome code was written by vanderdrilu, you can see more from this user in the personal repository.
You can find the original code on
Copyright vanderdrilu ©
  • HTML
  • CSS
  • JavaScript
    <script src=""></script>


Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

<H1  id="title" >Survey Form</H1>
<p id="description"> short explanantions</p>
<form id="survey-form" action="/action_page.php">
   <p><label id="name-label" for="name">Name</label><input name="input field" id="name" placeholder="Enter your name"></p>
  <p> <label  id="email-label"for="mail">email</label><input name="input field" id="mail" placeholder="Enter your email" type="email" required</p>
          <p> <label  id="number-label" for="number">age</label><input name="input field"   id="number" placeholder="Enter age" type="number" min="0" required </p>
             <label   for="dropdown">job</label>
      <select id="dropdown" name="cars" >
    <option value="volvo">Student</option>
    <option value="saab">part-time</option>
    <option value="fiat">Full-time</option>
    <option value="audi">Unemployed</option></p>
<ul class=name1 style="list-style: none;">
<label for = "radio1"><input class=name type="radio" id="radio1" name="gender" value="male" checked>male</label><br></li>
 <li> <label for = "radio2"><input class=name type="radio" id="radio2" name="gender" value="female" checked>female</label><br></li>
  <ul  class="checkbox" style="list-style: none;">
<li><input value="0" type="checkbox">Front-end Projects</li>
<li><input value="1" type="checkbox">Back-end Projects</li>
<li><input value="2" type="checkbox">PC</li>
  <textarea cols="25" rows="8"> </textarea>
<button type="submit" id="submit" value="Submit">Submit</button>


/*Downloaded from */
    h1, form, p {text-align:center;}
form{border:1px solid black;
margin:0 auto;

label, input, select, button{width:20%;

/*Downloaded from */

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