Tell us what’s happening:
The problem is in task 17. The code itself works, but the task returns an error. What to do?
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></option>
<option></option>
<option></option>
</select>
<section class="radio-group">
<input type="radio" name="availability" id="full-time">
<label for="full-time">Full-time</label>
<input type="radio" name="availability" id="full-time">
<label for="full-time">Full-time</label>
<input type="radio" name="availability" id="full-time">
<label for="full-time">Full-time</label>
<textarea id="message"></textarea>
<button type="submit"></button>
</section>
</form>
</div>
</body>
</html>
/* file: styles.css */
input:focus, textarea:focus{
border-color:yellow;
}
input:invalid, select:invalid, textarea:invalid{
border-color:red;
}
input:valid, select:valid, textarea:valid{
border-color: green;
}
button:hover{
background-color: black;
}
.radio-group input[type="radio"]:checked{
border-color: green;
background-color: green;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
color: #fff;
}
.radio-group input[type="radio"]:checked{
border-color: green;
background-color: green;
box-shadow: inset 0 0 0 4px white;
color: blue;
}
input[type="radio"]:checked + label {
color: blue;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 YaBrowser/25.4.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form