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

              
                <head><meta name="viewport" content="width=device-width" initial-scale="1"></head> <fieldset> <h1 id="title">Boruto fans survey</h1> 
 <p id="description">Fill this form with the honesty that comes from every fibre of your being</p></fieldset>
  <!-- survey form starts from here-->
  <fieldset>
 
<form id="survey-form">
  <div>
  <label id="name-label">Name</label>
  <input required type="text" id="name" placeholder="Enter your name"></div>
      
      <div>
  <label id="email-label">Email</label>
        <input required type="email" id="email" placeholder="Enter your email"></div>
      
     <div>
       <label id="number-label">Number</label>
        <input required type="number"  id="number" min="1" max="100" placeholder="Number"></div>
           
  <div>
    Will Boruto become a villain in Boruto animation?</div>
  <div>
 <select name="Yes_No" id="dropdown">
   <option value="Yes">Yes</option>
   <option value="No">No</option></select></div>
  
  
 <div> Will you be supportive towards the main character if he is categorised as a villain somewhere in the future? </div>
  <div id="yes_no_radio">
   <label for="yes_no_radio"></label>
   <p>
     <input type="radio"  value="yes" name="yes_no">Yes</p>
    <p>
      <input type="radio" value="No" name="yes_no">No</p></div>
  <div>Would you recommend this survey to your friends?</div>
  <div>
    <label for="yes" id="yes">Yes</label>
      <input type="checkbox" value="yes" name="yes">
    <label for="no" id="no">No</label>
      <input type="checkbox" value="no" name="no">
  </div>
 
  <div>
    <label for="textarea">Would you appreciate other surveys similar to this one?</label>
    <textarea id="textarea" name="textarea" placeholder="Verbalise your thoughts on the matter here"></textarea>
<input type="submit" style="margin:0px auto; display:block;" id="submit" value="submit"></div>
    </form></fieldset>
              
            
!

CSS

              
                h1{font-size: 35px;
  text-align:center;}


fieldset{
  border-color: black;
  border-width: 6px;
  border-radius: 20px;
  margin: auto;
  width: 600px;
  font-size:18px;
text-align:center;
  background-color:orange;
  padding: 20px 16px 20px 15px;}
div{margin:3%;
}
textarea {margin:20px;
  padding: 20px 60px 20px 60px;}

input{padding: 10px 25px 10px 60px;}
input[type=submit]
{padding: 2px 3px;
display: flex;
}
body{background-color:#FFFAA0;
}


              
            
!

JS

              
                //* This is one of the challenges of Responsive Web Design certification of freeCodeCamp *//
//* Este formulário de pesquisa faz parte de um dos desafios do curso Responsive web design da freeCodeCamp *//
              
            
!
999px

Console