Tell us what’s happening:
Please someone help me!!! why the step 15 doesnt work
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">
<form action="">
<input type="text" id="name" placeholder="Full Name">
<input type="email" id="email" placeholder="Email Address">
<select name="" id="position">
<option value="">Select Position</option>
<option value="developer">Developer</option>
<option value="designer">Designer</option>
<option value="manager">Manager</option>
<option value="marketing">Marketing</option>
<option value="sales">Sales</option>
</select>
<fieldset class="radio-group">
<legend>Availability</legend>
<label>
<input type="radio" name="availability" value="full-time"> Full-time
</label>
<label>
<input type="radio" name="availability" value="part-time"> Part-time
</label>
<label>
<input type="radio" name="availability" value="remote"> Remote
</label>
<label>
<input type="radio" name="availability" value="flexible"> Flexible Hours
</label>
</fieldset>
<textarea name="" id="message" placeholder="Why do you want to work with us?"></textarea>
<button type="submit">Submit Application</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f9f9fc;
color: #333;
line-height: 1.6;
}
.container {
max-width: 800px;
margin: 40px auto;
padding: 30px;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}
form {
display: flex;
flex-direction: column;
gap: 20px;
}
input,
select,
textarea,
button {
width: 100%;
padding: 14px 16px;
border: 1px solid #e1e4e8;
border-radius: 8px;
font-size: 16px;
transition: all 0.3s ease;
}
input,
select {
height: 50px;
}
textarea {
min-height: 150px;
resize: vertical;
}
input:focus,
textarea:focus {
border-color: #3b82f6;
outline: none;
box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}
input:invalid,
select:invalid,
textarea:invalid {
border-color: red;
background-color: rgba(239, 68, 68, 0.05);
}
input:valid,
select:valid,
textarea:valid {
border-color: green;
background-color: rgba(16, 185, 129, 0.05);
}
button {
background-color: #3b82f6;
color: white;
font-weight: 600;
border: none;
cursor: pointer;
margin-top: 10px;
height: 50px;
box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}
button:hover {
background-color: #2563eb;
transform: translateY(-2px);
}
.radio-group {
border: none;
padding: 15px 0;
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 10px;
}
.radio-group legend {
font-weight: 600;
font-size: 18px;
margin-bottom: 10px;
color: #1f2937;
}
.radio-group label {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background-color: #f9fafb;
border-radius: 6px;
border: 1px solid #e5e7eb;
cursor: pointer;
transition: all 0.2s ease;
}
.radio-group input[type="radio"] {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #d1d5db;
border-radius: 50%;
margin: 0;
position: relative;
}
.radio-group input[type="radio"]:checked {
border-color: #3b82f6;
background-color: white;
box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}
.radio-group input[type="radio"]:checked::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #3b82f6;
}
label:has(input[type="radio"]:checked) {
color: #3b82f6;
font-weight: 600;
background-color: #eff6ff;
border-color: #bfdbfe;
}
input:nth-child(1) {
border-radius: 8px;
border-left: 4px solid #3b82f6;
}
select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
}
.input-group {
position: relative;
}
.input-label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #4b5563;
}
.form-header {
text-align: center;
margin-bottom: 30px;
}
.form-header h1 {
color: #1f2937;
font-size: 28px;
margin-bottom: 10px;
}
.form-header p {
color: #6b7280;
}
@media (max-width: 768px) {
.container {
padding: 20px;
margin: 20px 15px;
}
.radio-group {
flex-direction: column;
gap: 10px;
}
.radio-group label {
width: 100%;
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0
Challenge Information:
Build a Job Application Form - Build a Job Application Form