You are on page 1of 3

** start of undefined **

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Survey Form</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Thank you for taking out the time to fill this form</p>
<form id="survey-form">
<fieldset>
<label id="name-label" for="name">Name<input id="name" placeholder="Enter
your name" name="name" type="text" required></label>
<label id="email-label" for="email">Email<input id="email" name="email"
type="email" required placeholder="Enter your email"> </label>
<label id="number-label" for="age">Age(optional)<input id="number"
name="age" type="number" required placeholder="enter your age" min="13"
max="120"></label>
</fieldset>
<fieldset>
<label>Which option best describes your current role?
<select id="dropdown" name="dropdown">
<option value="">Select Current Role</option>
<option value="1">Student</option>
<option value="2">Full Time Job</option>
<option value="3">Full Time Learner</option>
<option value="4">Prefer Not To Say</option>
<option value="5">Others</option>
</select>
</label>
<fieldset>
<label>Would you recommend freeCodeCamp to a friend?</label>
<label for="definitely"><input value="definitely" name="radio-group"
type="radio" class="inline">Definitely</label>
<label for="maybe"><input value="maybe" name="radio-group"
type="radio" class="inline">Maybe</label>
<label for="not-sure"><input value="not-sure" name="radio-group"
type="radio" class="inline">Not sure</label>
</fieldset>
<fieldset>
<label>What is your favorite feature of freeCodeCamp?</label>
<select id="dropdown" name="dropdown">
<option value="">select an option</option>
<option value="1">challanges</option>
<option value="2">projects</option>
<option value="3">community</option>
<option value="4">open source</option>
</select>
</label>
<label>What would you like to see improved? (Check all that apply)
<label><input value="front-end-projects" name="front-end-projects"
type="checkbox" class="inline">Front-end projects</label>
<label><input value="back-end-projects" name="back-end-projects"
type="checkbox" class="inline">Back-end projects</label>
<label><input value="data-visualization" name="data-visualization"
type="checkbox" class="inline">Data visualization</label>
<label><input value="challanges" name="challanges" type="checkbox"
class="inline">Challanges</label>
<label><input value="open-source-community" name="open-source-
community" type="checkbox" class="inline">Open source community></label>
<label><input value="gitter-help-rooms" name="gitter-help-rooms"
type="checkbox" class="inline">Gitter help rooms</label>
<label><input value="videos" name="videos" type="checkbox"
class="inline">Videos</label>
<label><input value="city-meetups" name="city-meetups"
type="checkbox" class="inline">City meetups</label>
<label><input value="wiki" name="wiki" type="checkbox"
class="inline">Wiki</label>
<label><input value="forum" name="forum" type="checkbox"
class="inline">Forum</label>
<label><input value="additional-courses" name="additional-courses"
type="checkbox" class="inline">Additional courses</label>
<fieldset>
<label>Any comments or suggestions?
<textarea placeholder="Enter your comment here..."></textarea>
</label>
<button id="submit" type="submit">Submit</button>
</fieldset>
</form>
</body>
</html>

** end of undefined **

** start of undefined **

body {
width: 100%;
height: 100vh;
margin: 10%;
background-color: #1b1b22;
color: white;
font-family: tahoma, sans-serif;
}
h1, p {
color: rgb(98, 85, 185);
margin: 10px 20px;
text-align: center;
}
form {
width: 100vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;
}
fieldset {
border: none;
paddng: 2rem 0;
border-bottom: 3px solid #3b3b3f;
}
fieldset:last-of-type {
border: none;
}
label {
display: block;
margin: 0.5rem 0;
}
input, textarea, select {
margin: 10px 0 0 0;
min-height: 2em;
width: 100%;
}
input, textarea {
background-color: #0a0a23;
border: 1px solid #0a0a23;
color: #ffffff;
}
.inline {
margin: unset;
width: 0 0.5em 0 0;
vertical-align: middle;
}
button[type="submit"] {
display: block;
width: 60%;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;
}
input[type="file"] {
padding: 1px 2px;
}

** end of undefined **

You might also like