Tell us what’s happening:
how do i pass i am stuck here someone should help i did associate label to still not working
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">
<input type="position">
<select id="position">
<option>Developer</option>
<option>Designer</option>
<option>Manager</option>
</select>
<fieldset class="radio-group">
<label for="full-time">
<input type="radio" name="availability" value="full-time">Full-time
</label>
<label for="part-time">
<input type="radio" name="availability" value="part-time">Part-time
</label>
</fieldset>
<textarea id="message"></textarea>
<button type="submit">Submit</buttom>
</form>
</div>
</body>
</html>
/* file: styles.css */
input:focus,
textarea:focus {
border-color: rgba(143, 225, 132, 0.2);
}
input:invalid,
select:invalid,
textarea:invalid {
border-color: red;
}
input:valid,
select:valid,
textarea:valid {
border-color: green;
}
button:hover {
background-color: orangered;
}
.radio-group input[type="radio"]:checked {
border-color: green;
background-color: white;
box-shadow: 0px 4px 8px green;
color: gray;
}
.radio-group label {
color: #333;
}
.radio-group input[type="radio"]:checked + label {
color: #4CAF50;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form