Build a Job Application Form - Build a Job Application Form

Tell us what’s happening:

there seems to be a problem with number 17.
i have tried everything yet it refuses to work
i even copied people’s code and still it doesnt work
what am i doing wrong, can i get some assistance?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <title>Job Application Form</title>
</head>
<body>
    <h1> Job Application Form </h1>
  <div class="container">
      <form>
         <label for ="name"> Full Name:</label> <br>
      <input id="name" type="text" placeholder="Enter Your Name"> </input><br>
        <label for ="email">Email:</label> <br>
      <input type= "email" id="email" placeholder="Enter Your Email"> </input> <br>
      <label for ="position">Position:</label><br>
      <select id="position" name="position">
          <option value="receptionist">Receptionist</option>
          <option value="director">Director</option>
          <option value="manager">Manager</option>
          <option value="ceo">CEO</option>
          <option value="fieldofficer">Field Officer</option>
      </select>
       <fieldset class="radio-group">          <legend>Availability</legend>
           <label for="fulltime">Full-Time</label>
           <input type="radio" id="fulltime" name="availability" ></input>
           <label for="parttime">Part-Time</label>
           <input type="radio" id="parttime" name="availability" checked></input>
           </fieldset>
      <h4>Why do you need this job?</h4> <textarea id="message" placeholder="Write Your Motivation"></textarea>
      <button type="submit">Submit</button>
      </form>
      </div>
</body>
</html>
/* file: styles.css */
input:focus, textarea:focus{
  border-color:violet;
}
input:invalid, select:invalid, textarea:invalid{
  border-color:red;
}
input:valid, select:valid, textarea:valid{
  border-color:green;
}
button:hover{
  background-color:magenta;
}
.radio-group input[type="radio"]:checked{
  border-color:brown;
  background-color:yellow;
  box-shadow:1px 2px purple;
}
input:first-of-type{
  border-radius: 5px;
}
input[type="radio"]:checked + label{
  color: blue; 
}
  
label{
  font-weight:bold;
}

Your browser information:

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

Challenge Information:

Build a Job Application Form - Build a Job Application Form

Welcome to the forum @shalommjchoco1

What happens when you click each radio button?
Do you get the expected result?

Happy coding

Hi

You need to change the order of the label elements and input tags here. Let input tags come first, then label elements..

That way, you’ll have meaninful radio buttons.