Tell us what’s happening: just can not pass # 15
I know I’m missing this and it will be a simple miss. # 15 is a dusey… Hours now, please I need help.
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>
<div class="container">
<h1>Job Application Form</h1>
<form>
<label for="name">Name</label>
<input type="text" id="name">
<label for="email">Email</label>
<input type="email" id="email">
<label for="position">Job Position</label>
<select id="position">
<option>Front-End Developer</option>
<option>Full Stack Developer</option>
</select>
<fieldset class="radio-group">
<legend>Availability</legend>
<input type="radio" name="availability" id="full-time" value="full-time" checked>
<label for="full-name">Full Time</label>
<input type="radio" name="availability" id="part-time" value="part-time">
<label for="part-time">Part Time</label>
</fieldset>
<textarea id="message">Message</textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
body {
font-family: arial, sans-serif;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
form {
display: flex;
flex-direction: column;
}
input:focus, textarea:focus {
border-color: yellow;
outline: none !important;
}
input:invalid, select:invalid, textarea:invalid {
border-color: red;
}
input:valid, select:valid, textarea:valid {
border-color: green;
}
button:hover {
background-color: green;
}
.radio-group {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.radio-group input[type="radio"]:checked {
border-color: green;
background-color: green;
box-shadow: inset 0 0 0 5px white;
}
.radio-group input[type="radio"]:checked + label {
color:green;
}
input:nth-child(1) {
border-radius: 10px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form