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>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Suvey Page</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="surveystyle.css">
</head>

<body>
    <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->

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




    <h1 class="title" id="title">My Survey Page</h1>
    <p id="description">
        Welcome to my test survey page.
    </p>
    <main class="main-part">
        <form id="survey-form">
            <fieldset class="border-radius-test">
                <div class="text-group">
                    <label for="name-label" id="name-one" data-name="name-label">Please enter your name</label><input
                        type="text" id="name-label" placeholder="Please Enter Your Name" required>
                    <label for="email-label" id="email-one" data-name="email-label">Please enter your
                        email.</label><input type="email" id="email-label" placeholder="Please Enter Your Email" required>
                    <label for="number-thing" id="number-one" data-name="number-one"> Please enter a number </label>
                    <input type="number" min="7" max="10" id="number-thing" placeholder="Please Enter Your Number" required>
                </div>
            </fieldset>
            <div id="setting_fieldset">
                <fieldset id="radio-group" name="radio-buttons" class="box1">
                    <div class="move">
                        <p>Please make a selection.</p>
                        <div class="radio-set">
                            <label for="yes-it" data-name="radio-buttons">Yes</label><input type="radio"
                                name="radio-buttons" value="yes" id="yes-it">
                            <label for="no-it" data-name="radio-buttons">No</label><input type="radio" name="radio-buttons" id="no-it"
                                value="no">

                        </div>
                    </div>
                </fieldset>
                <fieldset id="dropdown-group">
                    <div>div>
                        <!--I looked at W3C Schools to doublecheck how to make this comment and the select option https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select-->
                        Please make an option.I am not very creative, and would like to know what I need to update. <br>
                        <select id="dropdown">
                            <option value="color">Color</option>
                            <option value="spacing">Spacing</option>
                            <option value="align">Align</option>
                        </select>
                        <br>
                        <br>
                    </div>
                    <div id="setting_fieldset-2">
                        <fieldset id="checkbox-group">
                            <label for="fix" id="yes"> <input type="checkbox" id="fix" name="checkbox-group"
                                    value="yes"> To fix
                            </label>
                            <label for="not_fix" id="no"> <input type="checkbox" id="not_fix" name="checkbox-group"
                                    value="no"> To not
                                fix </label>
                        </fieldset>
                        <textarea id="text-area" placeholder="You can enter more information here."></textarea>


                    </div>
                </fieldset>
            </div>
            <input type="submit" value="Submit" id="submit">
        </form>
    </main>


    <!-- <script src="" async defer></script> -->
</body>

</html>
              
            
!

CSS

              
                .title {
    text-align: center;
    color: blue;

}
p {
    font-family: cursive;
    text-align: center;
    color: lavender;
    font-size: 25px;

}
.main-part {
    display: grid;
    grid-template-columns: 200px auto;
    grid-template-rows: 400px 100px 50px 100px;
    font-family: cursive;
    color: blueviolet;
    
}
#survey-form {
    border-radius: 100px;
    height:100px;
    width: 350px;
    display: grid;
    grid-column: 2/3;
    grid-row: 1/2;
}
.border-radius-test {
    border-radius: 25px;
}
#setting_fieldset {
    border-radius: 100px;
    display: flex;
}
.text-group{
    display: grid;
    grid-template-columns: 50%;
    border-radius: 25px;
}
.box1 {
    background-color: red;
}
#radio-group {
    background-color: rgb(20, 211, 236);
   width: 50%;
   /*height: 80%;*/
   border-radius: 25px;
}

#dropdown-group{
    /*display: grid;
    grid-template-columns: 100px 100px;*/
   width: 50%;
  /* height: 80%;*/
   background-color: blue;
   color: green;
   border-radius: 25px;
   
}
#setting_fieldset-2{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 25px;
}

#checkbox-group {
    color:blue;
    background-color: red;
    width:400px;
    border-radius: 25px;
}
textarea {
    width: 97.5%;
    border-radius: 25px;
}

#submit {
    border-radius: 50px;
    height: 30px;
   background: linear-gradient(red, white, blue);;
    
}


              
            
!

JS

              
                
              
            
!
999px

Console