Survey Form - Build a Survey Form

Tell us what’s happening:

Describe your issue in detail here. Hi everyone, I am building a survey form but each line of code was marked wrong. What am i getting wrong please.

Your code so far

<!-- file: index.html -->
body{
    height: 100vh;
    width: 100%;
    margin: 0;
    background-color: #1b1b32;
    color: #f5f6f7;
    font-family: Tahoma;
    font-size: 16px;

  }
  h1,p{
    margin: 1em auto;
    text-align: center;
  }

  form{
    width: 60vw
    max-width: 500px;
    min-width: 300px;
    margin: 0 auto;
    padding-bottom: 2em;
  }
  fieldset{
    border: none;
    padding: 2rem;
  }
  label{
    display: block;
    margin: 0.5rem 0;
  }
  input, textarea, select{
    margin: 10px 0 0 0;
    width: 100%;
    min-height: 2em;
  }
  .inline{
    width: unset;
    margin:0 0.5em 0 0;
    vertical-align: middle;
    display: inline;
  }

  input[type="submit"]{
    display: block;
    margin: 1.2em auto;
    height: 2em;
    font-size: 1.0rem;
    background-color: rgb(70, 228, 60);
    color: white;
  }
/* file: styles.css */
<!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">freeCodeCamp Survey Form</h1>
<p id="description">Thank you for taking time to help us improve the platform</p>

<form id="survey-form">
<fieldset>
<label for="name" id="name-label">Name
<input id="name" type="text" placeholder="Enter your name" required/></label>
<br><br>
<label for="email" id="email-label">Email<input id="email" type="email" placeholder="Enter your Email" required /></label>
<br><br>
<label for="number" id="number-label">Age (optional)<input id="number" type="number" min="18" max="95" pattern="[0-9]" placeholder="Age" /></label>
</fieldset>

<fieldset>
<label for="current-role">Which option best describes your current role?
<select id="dropdown" name="current-role">
<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>

<fieldset>
<legend>Would you recommend freeCodeCamp to a friend?</legend>
<label for="recommend-definitely"><input name="freeCodeCamp-recommendation" value="recommend-definitely" type="radio" checked class="inline"/>Definitely</label>
<label for="recommend-maybe"><input name="freeCodeCamp-recommendation" value="recommend-maybe" type="radio" class="inline"/>Maybe</label>
<label for="recommend-not-sure"><input name="freeCodeCamp-recommendation" value="recommend-not-sure" type="radio" class="inline"/>Not sure</label>
</fieldset>

<fieldset>
<label for="favorite-feature">What is your favorite feature of freeCodeCamp?
<select id="dropdown" name="favorite-feature">
<option value="">select an option</option>
<option value="1">Challenges</option>
<option value="2">Projects</option>
<option value="3">Community</option>
<option value="4">Open source</option>
</select>
</label>
</fieldset>



<fieldset>
<legend>What would you like to see improved? (Check all that apply)</legend>
<label><input type="checkbox" value="1" class="inline">Front-end Projects</input></label>
<label><input type="checkbox" value="2" class="inline">Back-end Projects</input></label>
<label><input type="checkbox" value="3" class="inline">Data Visualization</input></label>
<label><input type="checkbox" value="4" class="inline">Challenges</input></label>
<label><input type="checkbox" value="5" class="inline">Open source Community</input></label>
<label><input type="checkbox" value="6" class="inline">Gitter help rooms</input></label>
<label><input type="checkbox" value="7" class="inline">Videos</input></label>
<label><input type="checkbox" value="8" class="inline">City Meetups</input></label>
<label><input type="checkbox" value="9" class="inline">wiki</input></label>
<label><input type="checkbox" value="10" class="inline">Forum</input></label>
<label><input type="checkbox" value="11" class="inline">Additional Courses</input></label>
</fieldset>

<fieldset>
<label for="suggestion">Any comments or suggestions?
<textarea id="suggestion" name="suggestion" rows="6" cols="60" placeholder="Enter your comment here..."></textarea>
</label></fieldset>
<input type="submit" id="Submit"/>
</form>

</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Survey Form - Build a Survey Form

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

You have your css and html code in wrong files.

Here goes your css code.

And here you need html code.