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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<body>
  <div>
    <h1 id="title">English? Worth trying!! online languge school Survey Form</h1>
    <p id="description">Thank you for your feedback which helps us improve our school</p>
  </div>
  <form id="survey-form" ationd="submit1.php">
  
<div id="personal" name="personal-group">
  <h2>Survey form</h2>
    <label id="name-label" for="name">Your name:</label
      ><input id="name" type="text" placeholder="enter your name" required />
  
    <label id="email-label" for="email">Your email:</label
      ><input id="email" type="email" placeholder="email" required />
    
    <label id="number-label" for="number" >Your age: </label>
      <input id="number" type="number" min="10" max="99" placeholder="age" required/>
    
</div>
   
<div  name="dropdown-group">
    <label for="course">Which course are you taking?</label>
     <select id="dropdown" required>
        <option selected value>Callan method</option>
        <option value>Business English</option>
        <option value>Reading based English</option>
        <option value>Listening based English</option>
        <option value>Video based speaking</option>
        </select>
  </div>
   
<div id="why" name="why-group">
<p>Why do you study English?</p>
<label for="why"></label>
<input name="why" id="self" type ="radio" value="selfdevelopment"/>Self development
<label for="work"></label>
<input name="why" id="work" type="radio" value="work"/>Work requirement
<label for="bored"></label>
<input name="why" id="bored" type="radio" value="bored"/>Bored at home
<label for="variant">Write your variant</label>
<input name="why" id="variant" type="text" placeholder="write your varaint"/>
</div>
<div id="rec" name="recomend-group">
    <label for="recomend">Would you recomend our course?</label>
    
    <label for="sure"></label>
     <input name="recomend" id="sure" type="radio" value="sure"/> Sure 
  
  <label for="maybe"></label>
    <input name="recomend" id="maybe" type="radio" value="maybe"/>Maybe

<label for="probably no"> </label>
  <input name="recomend" id="probably no" type="radio" value="no"/>Probably no
</div>

<div id="best" name="like-group">
<p>What is the best about our school?</p>
  <label for="teachers"><input id="teachers" type="checkbox" value="teachers"/>Teachers</label><br>
<label for="method"></label><input id="method" type="checkbox" value="method"/>Method
  
<label for="content"></label><input id="content" type="checkbox" value="lesson"/>Lesson content
  <label for="time"></label><input id="time" type="checkbox" value="timetable"/>Timetable
</div>

<div id="improve" name="improve-group">
<p>What would you like to improve?</p>
  <label for="duration"></label> <input id="duration" type="checkbox" value="duration"/>Lesson duration<br>
<label for="books"></label> <input id="books" type="checkbox" value="books"/>Course books
<label for="hometask"> </label> 
  <input id="hometask" type="checkbox" value="hometask"/>Get more or less home task 
<label for="writing"></label><input id="writing" type="checkbox" value="writing"/>Include tips for best writing
<label for="my"></label><input id="my" type="checkbox" value="my"/>My variant <input type="text" placeholder="Write your variant, please" required/></div>

  <div class= "textarea" name= "comments">
<p>Your comments and suggestions:</p>
  <textarea id="suggestions"></textarea>
  <br> </div>

   
      <button type="submit" id="submit" class="submit-button">
        Submit
      </button>
  </form>
</body>


              
            
!

CSS

              
                body{
  background-color: #E9967A;
  background: linear-gradient(80deg, rgb(255,215,0) 0%, rgb(255,127,80) 20%, rgb(255,165,0) 35%, rgb(255,99,71) 60%, rgb(255,140,0) 100%);
}
h1{
  color:	#3CB371;
  font-weight: bold;
  text-align: center;
  
}
#description{
  font-family: Lucidatypewriter, monospace;
  font-weight: bold;
  color: #7B68EE;
  text-align: center;
  font-size: 20px;
}
#survey-form{
  border-color: #228B22 #00FF00 #00FA9A #483D8B;
  border-width: 5px;
  border-style: dashed;
  width: 450px;
  height: 700px;
  line-height: 1.5em;
  padding-left: 20px;
  margin-left: 25%;
  font-family: Palatino, serif;
  font-weight: bold;
  color: #800000;
  background-color: linear-gradient( 180deg #98FB98 0%, rgb(0,128,0) 40%, #FFFF00 100%);
  text-align: center;
}
#submit{
  width: 200px;
 margin-left: 50px;
  background-color: orangered;}
              
            
!

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