Build A Survey Form
Build A Survey Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Survey Together!</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<form method="post" action='https://register-demo.freecodecamp.org'
id="survey-form">
<h1 id="title">Survey Together!</h1>
<p id="description">Do you have some time to spare? Answer
<strong>this</strong> for us</p>
<fieldset>
<label for="name" id="name-label">Your name please: <input type="text"
id="name" placeholder="Your name..."required /></label>
</fieldset>
<fieldset>
<label for="favthing" id="favthing-label">What is your favourite
thing about this website?</label>
<select name="favthing" id="dropdown">
<option value="Design">Design</option>
<option value="Format">Format</option>
<option value="everything">Everything</option>
<option value="nothing">Nothing</option>
</select>
</fieldset>
<fieldset>
<legend>(Check all that apply)</legend>
<label for="improvement" id="improvement-label">What would you like to see more?
</label>
<button id="submit"></button>
</fieldset>
</body>
</html>
** end of undefined **
** start of undefined **
h1 {
font-family: Arial;
}
p {
font-size: 19;
color: rgb(126, 45, 221);
}
strong {
color: black;
}
h1 {
text-align: center;
}
label {
display: block;
}
body {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: var(--color-white);
margin: 0;
}
.inline {
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;
}
** end of undefined **