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>
<div id="main">
<div class="FBP0">
<div id="fondo">
    <div class="fbh1">
    <h1 id="title">
        FreeCodeCamp Survey Form
    </h1>
   
      <p id="description">Thank you for taking the time to help us improve the platform.</p>
  </div>
    
<class = "fbh2">
    <form id="survey-form" action="/submit-pesonal-data">
    <label id="name-label">Name</label>
    <input id="name" type="name" placeholder="Enter Your Name" required>
    <label id="email-label">Email</label>
    <input id="email" type="email" placeholder="Enter Your Email" required>
    <label id="number-label">Phone number</label>
    <input id="number" type="number" placeholder="Enter Your Phone Number" min="0000000000" max="9999999999"  value="0000000000" required> 
  
 
 <label id ="dropdown-label">Code skills?</label>    
 <select id="dropdown" name="Skills">
 <option value="Begginer">Begginer</option>
 <option value="Medium">Medium</option>
 <option value="Advance">Advanced</option>
</div>

  </select> 

<div class="fbh4">
      <p class="txt">Would you recommend freeCodeCamp to a friend?</p>  
    <label class="radiobttn-label" for="definitely">Definitely
      <input type="radio" name="opcion" id="definitely" value="definitely" checked="checked"><span class="radiobttn-customize"></span></label>
    
    <label class="radiobttn-label" for="maybe">Maybe
        <input type="radio" name="opcion" id="maybe" value="maybe"><span class="radiobttn-customize"></span></label>
    
    <label class="radiobttn-label" for="ns">Not sure
    <input type="radio" name="opcion" id="ns" value="ns"><span class="radiobttn-customize"></span> </label>  </div> 
      
 <div class="fbh5">
  <p class="txt">What would you like to see improved? (Check all that apply)</p> 
    
    
      
     <label class="chckbx-label" for="fep">Front-endProjects <input type="checkbox" name="improve" id="fep" value="fep"><span class="chckbx-customize"></span></label>
     <br>
     <label class="chckbx-label" for="bep">Back-endProjects
         <input type="checkbox" name="improve" id="bep" value="bep"><span class="chckbx-customize"></span></label> 
     <br>
     <label class="chckbx-label" for=dv>Data Visualization
         <input type="checkbox" name="improve" id="dv" value="dv"><span class="chckbx-customize"></span></label> 
     <br>
     <label class="chckbx-label" for="chllgs">Challenges
         <input  type="checkbox" name="improve" id="chllgs" value="chllgs"><span class="chckbx-customize"></span></label>
     <br>
     <label class="chckbx-label" for="osc">Open Source Community
         <input  type="checkbox" name="improve" id="osc" value="osc"><span class="chckbx-customize"></span></label> 
     <br>
     <label class="chckbx-label" for="ghr">Gitter Help rooms
         <input type="checkbox" name="improve" id="ghr" value="ghr"><span class="chckbx-customize"></span></label>
     <br>
     <label class="chckbx-label" for="vds">Videos
         <input type="checkbox" name="improve" id="vds" value="vds"><span class="chckbx-customize"></span></label>
     <br>
     <label class="chckbx-label" for="cmu">City Meetups
         <input type="checkbox" name="improve" id="cmu" value="cmu"><span class="chckbx-customize"></span></label> 
     <br>
     <label class="chckbx-label" for="wk">Wiki
         <input type="checkbox" name="improve" id="wk" value="wk"><span class="chckbx-customize"></span></label>
     <br>
     <label class="chckbx-label" for="frm">Forum
         <input  type="checkbox" name="improve" id="frm" value="frm"><span class="chckbx-customize"></span></label> 
     <br>
     <label class="chckbx-label" for="adttnc">Additional Courses
         <input  type="checkbox" name="improve" id="adttnc" value="adttnc"><span class="chckbx-customize"></span></label>
</div>
     
    <label id="ad" for="txtare">Additional comments</label>
    <textarea id="txtare">  
    </textarea>    
     <br>
    
     <input id="submit" type="submit"  name="subir"  value="Submit">

</form>
  </div>
  </div>

  

 
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Inconsolata&display=swap')

  /* Main is Empty to create the Box Model*/
#main {
  }  

.FBP0{
  background-image: url("https://c1.staticflickr.com/9/8085/8536426163_eaf2092b0f_b.jpg"); 
  background-size: cover;
  background-attachment: fixed;
  } 

.FBP0 > div {
   letter-spacing: 5px;
   font-size: 20px;
  
   }
  
#fondo{
    
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    margin: auto;
    width: 500px;
    display: flex;
    flex-direction: column;
    border: 1px #FFFFFF solid;
    padding: 25px 50px 75px;
    font-family: 'Inconsolata', monospace;
    /*background-color: white;*/
         
}

.fbh1{
 color: white;
}

.fbh2{
   color: white;
  }

.fbh3 {
  
}

.fbh4 {
  
}

.fbh5 {
  
}


#title{   
    
     text-align:center;
     font-size: 25px;
     
    
}

#description{

   
    text-align: center;
    text-decoration: transparent;
    font-size: 15px;
   
}

#survey-form{
    padding: 20px 15px;
   }

#name{

    border: 10px solid #000;
    border-width:   thin;
    border-radius:  10px;
    padding: 0 10px 0 10px;
    color: #676278;
    font-size: 18px;
    }

#email{

    border: 10px solid #000;
    border-width: thin;
    border-radius: 10px;
    padding: 0 5px 0 9px;
    color: #676278;
    font-size: 18px;
    
}

#number{
    
    border: 10px solid #000;
    border-width: thin;
    border-radius: 10px;
    padding: 0 5px 0 5px;
    color: #676278;
    font-size: 18px;
    
     
}

#name-label{
    
    padding-left: 35px;
    line-height: 50px;
    color: #FFFFFF;
           
}

#email-label {
    
    padding-left: 35px;
    line-height: 50px;
    color: #FFFFFF;
        
}

#number-label{
    padding-left: 35px;
    line-height: 50px;
    color: #FFFFFF;
   
}

.radiobttn-label {

    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-top: 12px;
    cursor: pointer;
    user-select: none;
    color: #FFFFFF;
      
}

.radiobttn-label input {
   
   
   position: relative;
   opacity: 0;
   cursor: pointer;
   height: 0;
   width: 0;
}

.radiobttn-customize {
  
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;

}

.radiobttn-label:hover input ~ .radiobttn-customize {
                background-color: #120099;
           }

           .radiobttn-label input:checked ~ .radiobttn-customize {
            background-color: #2196F3;
           }

           .radiobttn-customize:after {
               content: "";
               position: absolute;
               display: none;
           }

           .radiobttn-label input:checked ~ .radiobttn-customize:after {
               display: block;
           }

           .radiobttn-label .radiobttn-customize:after {
               left: 9px;
               top:  5px;
               width: 5px;
               height: 10px;
               border: solid white;
               border-width: 0 3px 3px 0;
               transform: rotate(45deg);
           }

.chckbx-label{
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
    letter-spacing: 5px;
    color: #FFFFFF;
    
}

    .chckbx-label input{
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.chckbx-customize{
   
     position: absolute;
     top: 0;
     left: 0;
     height: 25px;
     width: 25px;
     background-color: #eee;
     border-radius: 50px;
     
    }

.chckbx-label:hover input ~ .chckbx-customize{
    background-color: #120099;
}

.chckbx-label input:checked ~ .chckbx-customize {
    background-color: #2196F3;
}

.chckbx-customize:after {
    content: "";
    position:absolute;
    display:none;
}

.chckbx-label input:checked ~ .chckbx-customize:after {
    display: block;
}
.chckbx-label .chckbx-customize:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

#dropdown{
    
    border: 10px solid #fff;
    border-width: thin;
    border-radius: 5px;
    padding: 0 10px 0px 10px;
    color: #676278;
    font-size: 18px;
    }

#dropdown-label {
    
    dispaly: inline-block;
    position: relative;
    padding-left: 35px;
    line-height: 50px;
    color: #FFFFFF;
    letter-spacing: 5px;
    
}

.txt {
    
    display: inline-block;
    position: relative;
    padding-left: 35px;
    line-height: 30px;
    color: #FFFFFF;
    letter-spacing: 5px;
    font-size: 20px;
}

#ad {
  
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    font-size: 22px;
    
}

#txtare {
  min-height: 120px;
  width: 100%;
  resize: horizontal;
  box-sizing: content-box;
  padding: 0.2rem;
  
}

#submit {
  
    display: block;
    margin: 0 auto;
    padding-left: 15px;
    color: #000;
    letter-spacing: 10px;
    font-size: 22px;
}
              
            
!

JS

              
                
              
            
!
999px

Console