Tell us what’s happening:
Unsure what the problem is here, stuck on the seventh requirement. I am not sure what needs to be added to my label or input elements in order for the radio buttons to work properly
- Inside
.radio-group
you should have a group ofinput
elements with the typeradio
for selecting availability options. The groupname
should beavailability
.
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">
<title>Job Application Form</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<form>
<input type="text" id="name">
<input type="email" id="email">
<select id="position">
<option>Developer</option>
<option>Designer</option>
<option>Project Manager</option>
<fieldset class="radio-group" name="availability">
<legend>Availability</legend>
<label class="radio" for="full-time">Full-time</label>
<input name="availability" id="full-time" type="radio">
<label class="radio" for="part-time">Part-time</label>
<input name="availability" id="part-time" type="radio">
</fieldset>
</form>
</div>
</body>
</html>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form