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

              
                <!DOCTYPE html>
<html lang="es" dir="ltr">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="css/estilos2.css">
    <link href="https://fonts.googleapis.com/css?family=Josefin+Sans:300i,400,700" rel="stylesheet">
    <title>Survey Form</title>
  </head>
  <body>
    <header class="item1" id="outerform">
    <h1 id="title">Form</h1>
    <p id="description">Quiero saber cual es tu servicio de Streaming Video favorito:<br></p>
    <header>
        
       
        <div class="backgroundimg"></div>
          <form  id="survey-form" action="index.html" method="get">
         <main class="grid-container">
        <div class="item2">
        <label id="name-label">Ingresa tu nombre: </label><input type="text" id="name" class="input_field" name="Nombre" placeholder="Nombre" required><br><br>
          <label id="email-label">Ingresa tu e-mail:</label> <input type="email" id="email"class="input_field"  name="E-mail" placeholder="E-mail" required><br><br>
          <label id="number-label">Edad: </label> <input type="number" id="number" class="input_field" name="Edad" min="1" max="125" placeholder="Edad"><br><br>
         </div>
           
         <div class="item3">          
           <div class="streaming">
         <h4>   <label >¿Que servicio de "Streaming" te gusta más?</label> 
         </h4>
         <select class="dropdown" id="dropdown" name="selection">
                                                            <option  class="option"  value="disabeled">Elige una opción</option>
                                                            <option class="option"  value="Netflix">Netflix</option>
                                                            <option class="option"  value="ClaroVídeo">Claro Vídeo</option>
                                                            <option  class="option" value="Amazon">Amazon Prime</option>
                                                            <option  class="option" value="Blim">Blim</option>
                                                            <option  class="option" value="Otro">Otro</option>
                                                        </select>
</div>


<div  class="options">
      <h4> <label for="selecciona" class="">¿Que tipo de peliculas o series prefieres?</label></h4>
                                                         <input type="radio" name="selecciona" value="Acción" checked> Acción<br>
                                                         <input type="radio" name="selecciona" value="Infantiles">  Infantiles<br>
                                                         <input type="radio" name="selecciona" value="Comedia"> Comedia<br>
                                                         <input type="radio" name="selecciona" value="terror">Terror<br>
                                                         <input type="radio" name="selecciona" value="Suspenso">Suspenso<br>
           </div>
           </div>
         <div class="item4">
  <h4><label for="check" class="">Prefiero entretenerme con:</label> </h4>
                                                        <input type="checkbox" name="entretenimiento" value="Cinema"> Cinema<br>
                                                        <input type="checkbox" name="entretenimiento" value="T.V."> T.V. Abierta<br>
                                                        <input type="checkbox" name="entretenimiento" value="Streaming"> Streaming <br>
                                                        <input type="checkbox" name="entretenimiento" value="Videojuegos"> Cable o similar
           
            
           <h4> <label for="Comentarios" class="">Comentarios, sugerencias: </label ></h4>
              <textarea type="input_field" name="Comentarios" value="Comentarios" placeholder="Ingresa tus comentarios o sugerencias">Aquí puedes hacer tus comentarios.
              </textarea></br>
            <button class="enviar" id="submit" type="submit" name="button">Enviar</button>
          </div>
              </main>
        </form>
      <!--<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>-->
  </body>
</html>

              
            
!

CSS

              
                body{
    font-family: 'Josefin Sans', sans-serif;
    min-width: 320px;
  font-size: 18px;
}
.backgroundimg{
  background-image: url("https://bombanoise.com/wp-content/uploads/2018/05/Portada.jpg");
  background-size: cover;
  height: 100vh;
  display: block;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  height: 800px;
  left: 0;
  position: fixed;
  right: 0;
  top: 6rem;
  z-index: -1;
}
h1, #description{
  text-align: center;
  color: Black;
  text-shadow: 2px 5px 8px rgb(228, 223, 223);
}



.grid-container{
min-width: 300px;
display: grid;
height: auto;
grid-template-columns: auto auto auto;
grid-gap: 3px;
color: white;
padding: 20px;
  width: 100%;  
}
/*Generales*/
.item2, .item3, .item4, .streaming, .options{
  padding: 4rem 2rem;
  background-color: rgba(19, 18, 18, 0.84);
  height: auto;
}
h4{
  font-size: 1.5rem;
}

.streaming select{
 
  background-color: #003455;
  border: none;
  padding: 8px;
  color: white;
  margin: 5px;
  border-radius: 4px;
  font-size: 15px;
}
.option{ 
  background-color: #003366;
  border: 1px solid transparent;
  padding: 4px 1px;
}



.item2, .streaming{
  display: flex;
  flex-direction: column; 
}
.streaming {
  margin-right: auto;
  margin-left: auto;
}

.input_field{
  padding: 8px;
  margin-top: 3px;
  border-radius: 8px;
  font-size: 15px;
}

.item2{
  grid-area:1/1/2/4;   
}


.item3{
  grid-area: 2/1/3/2;
}
.item4{
  grid-area: 2/2/3/4;
  
}

.item4 textarea{
  width: 100%;
  min-height: 5rem;
  font-size: 18px;  
}

.enviar{
  background-color:rgba(0, 52, 85, 0.644);
  border: 0;
  padding: 14px 10px;
  color: white;
  cursor: pointer;
  border: solid 1px black;
  width: 100%;
}

.enviar:hover{
  background-color:rgba(0, 52, 85, 1);
}


label{
  font-weight: bold;
}



              
            
!

JS

              
                
              
            
!
999px

Console