Survey Form - Build a Survey Form

Can anyone help me align the radio buttons and the check box in line with the labels?

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <link rel="stylesheet" href="styles.css"/>
<h1 id="title">This Survey</h1>
<p id="description">Is a project</p>
<form id="survey-form">
      <label id="name-label">Enter Your First Name: <input id="name" placeholder="first name" type="text"  required />
      <label>Enter Your Last Name: <input id ="name" type="text" placeholder="last name"  required />
      <label id="email-label">Enter Your Email: <input id="email" type="email" placeholder="email" required />
      <label id="number-label">Age:<input id="number" type="number" placeholder="18-99" min="18" max="99"required />

      <label>How did you hear about us?
        <select id="dropdown">
          <option value="">(select one)</option>
          <option value="1">freeCodeCamp News</option>
          <option value="2">freeCodeCamp YouTube Channel</option>
          <option value="3">freeCodeCamp Forum</option>

    <!----Radio Buttons---->
    <label><input type="radio" name="account-type" value="account" /> Personal Account</label>
      <label><input type="radio" name="account-type" value="account" /> Business Account</label>
        <input type="checkbox" name="terms" required value="accept"/> I accept the <a href="">terms and conditions</a>

      <input type="checkbox" name="vehicle1" value="Bike">
<label for="vehicle1"> I have a bike</label><br>
<input type="checkbox" name="vehicle2" value="Car">
<label for="vehicle2"> I have a car</label><br>
<input type="checkbox" name="vehicle3" value="Boat" checked>
<label for="vehicle3"> I have a boat</label><br><br>

  <label>Provide a bio:
        <textarea name="bio" rows="3" cols="30" placeholder="I like coding on the beach..."></textarea><br>
         <input id="submit" type="submit" value="Submit">

/* file: styles.css */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: white;
color: black;
font-family: "Source Serif Pro";
font-size: 16px;

h1, p {
  text-align: center;

form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;


fieldset {
border: none;
padding: 2rem 0;
border-bottom: 1px solid #3b3b4f;


select {
margin: 10px 0 0 0;
width: 100%;
min-height: 1.5em;


label {
display: block;
margin: 0.5rem 0;

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.