Tell us what’s happening:
Describe your issue in detail here.
anybody can tell me how to fix this,thank you
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1 id="title">freeCodeCamp Survey Form</h1>
<p id="description">Thank you for taking the time to help us improve the platform</p>
<form id="survey-form" value=value>
<label for="name
">Name: <input id=name
type="text" required placeholder=”Enter your name”/></label>
<label for="email">Email: <input id="email" name="email" type="email" required placeholder=”Enter your Email”/></label>
<label for="number">Age(optional): <input id="number" name="number" type="number" required min="13" max="100" placeholder="dropdown"/></label>
<label id="name-label">
<label id="email-label">
<label id="number-label">
<select id="dropdown">
<label for="current-roll">Which option best describes your current role?</label>
<select id="current-roll" name="current-roll">
<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">Other</option>
</select>
</label>
<fieldset>
<legend>Would you recommend freeCodeCamp to a friend?</legend>
<label for="definitely"><input id="definitely" type="radio" name="definitely" class="inline" /> Definitely</label>
<label for="maybe"><input id="maybe" type="radio" name="maybe" class="inline" /> Maybe</label>
<label for="not-sure">
<input id="not-sure" type="radio" required name="not-sure" class="inline" /> Not sure
</label>
<fieldset>
<label for=”favorite-feature”>What would you like to see improved? (Check all that apply)</label>
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Front-end Projects
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Back-end Projects
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Data Visualization
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Challenges
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Open Source Community
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Gitter help rooms
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Videos
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> City Meetups
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Wiki
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Forum
<input id="favorite-feature" type="checkbox" required name="favorite-feature" class="inline" /> Additonal Courses
</fieldset>
<label for="suggestions">Any comments or suggestions?
<textarea id="suggestions" name="suggestions" rows="5" cols="30" placeholder="Enter your comment here...."></textarea>
</label>
<input type="submit" value="submit" />
</form>
</body>
</html>
/* file: styles.css */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
font-family: Tahoma;
font-size: 16px;
}
h1 {
margin: 1em auto;
text-align: center;
}
p {
margin: 1em auto;
text-align: center;
font-style:italic;
}
form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;
}
fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:last-of-type {
border-bottom: none;
}
label {
display: block;
margin: 0.5rem 0;
}
dropdown{
}
input,
textarea,
select {
margin: 10px 0 0 0;
width: 100%;
min-height: 2em;
}
input, textarea {
background-color: #0a0a23;
border: 1px solid #0a0a23;
color: #ffffff;
}
.inline {
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;
}
input[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;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: