<head>
  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap" rel="stylesheet">
</head>

<body>
  <header>

    <h1 id="title">Survey Form</h1>

    <p id="description">This is my first survey form</p>

  </header>
  <main>
    <form id="survey-form">
      <fieldset id="personal-information">
        <legend>Personal Information
        </legend>
        <label for="name" id="name">Name </label>
        <input id="name" type="text" required placeholder="sergio herrera">
        </input>
        <label for="email" id="email-label">email </label>
        <input id="email" type="email" required placeholder="sergio@example.com">
        </input id="phone-number">
        <label for="telephone number" id="number-label">Phone number</label>
        <input id="number" type="number" required min="1" max="7" placeholder="eg: *555555555555">
        <label>gender<label />

          <select id="dropdown">
            <option>
              Male
            </option>
            <option>
              Female
            </option>
            <option>
              Other
            </option>
          </select>
      </fieldset>
      <fieldset>
        <legend>Opinion</legend>
        <p>Please provide your opinion for this form</p>
        <label for="good"> Good</label>
        <input id="good" type="radio" name="opinion" value="good" checked></input>
        <label for="radio">medium</label>
        <input id="medium" type="radio" name="opinion" value="medium">
        </input>

        <label for="bad">Bad</label>
        <input id="bad" type="radio" name="opinion" value="bad">
        </input>
      </fieldset>
      <fieldset>
        <legend id="recommendations">Improvements</legend>
        <label for="html"> better html</label>
        <input id="html" type="checkbox" value="html" name="improvements"></input>
        <label for="css"> Better CSS</label>
        <input id="css" type="checkbox" value="better-css" name="improvements"></input>
        <label for="javascript">Add javascript</label>

        <input id="javascript" type="checkbox" value="Add-javascript" name="improvements"></input>
        <label id="further-details">Please provide further details for improvement</label>
        <textarea id="textarea"></textarea>
      </fieldset>

      <button id="submit" type="submit">submit</button>

    </form>

  </main>

</body>
*:focus{
    color: red;
    outline-style: outset;
    outline-color: tomato;
}



body {
    max-width: 50%%;
    margin: auto;
    background-color: #6D5ACF;
    opacity:0.8;
    color: #FFFD01;
}

header {
    margin: auto;
    text-align: center;

}

#survey-form {
    max-width: 50%;
    margin: auto;
    border: 5px orange solid;
    border-radius: 2%;
}

legend {
    ;
    color: #FFFD01;
    text-align: left;
    font-weight: bold;
}

input {
    max-width: 50%;
    border-radius: 12px;
    margin: auto;
}

#personal-information {
    text-align: center;
    display: grid;
    grid-template-rows: 50% 50%;
}

#phone-number {
    size: number;
    width: 30%;
    border-radius: 25%;
}


}
#dropdown {
    display: block;
    /* Allows for the dropdown label to show above the actual dropdown*/

;

}
#further-details {
    padding-top: 20px;
    display: inline;
    text-align: center;
    border-radius: 12px;
}
#textarea {
    display: block;
    margin: auto;
    border-radius: 12px;
}
button {
    border-radius: 12px;
    background-color: ;
    color #9DBCD4;
    display: block;
    margin: auto;
    margin-top: 15px;
    width: 20%;
}
// !! 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.
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.