Tell us what’s happening:
tried many time no 12 still failing, and suggested to reset and click ctrl f5 but still failing
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</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Job Application Form</h1>
<form id="job-application">
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
<label for="position">Position:</label>
<select id="position" name="position" required>
<option value="">Select a position</option>
<option value="developer">Developer</option>
<option value="designer">Designer</option>
<option value="manager">Manager</option>
</select>
<fieldset class="radio-group">
<legend>Availability:</legend>
<input type="radio" id="fullTime" name="availability" value="fullTime" checked>
<label for="fullTime">Full-Time</label>
<input type="radio" id="partTime" name="availability" value="partTime">
<label for="partTime">Part-Time</label>
</fieldset>
<label for="message">Why do you want this job?</label>
<textarea id="message" name="message" rows="5" placeholder="Write your motivation" required></textarea>
<button type="submit">Submit Application</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
body {
font-family: Arial, sans-serif;
background-color: white;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input, select, textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.radio-group {
display: flex;
align-items: center;
margin-top: 15px;
}
.radio-group input[type="radio"] {
margin-right: 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #ccc;
border-radius: 50%;
outline: none;
transition: border-color 0.2s;
}
.radio-group label {
margin: 0;
font-weight: normal;
cursor: pointer;
}
button {
width: 100%;
padding: 10px;
background-color: green;
border: none;
color: white;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}
input:focus, textarea:focus {
border-color: blue;
outline: none;
}
input:invalid, select:invalid, textarea:invalid {
border-color: red;
}
input:valid, select:valid, textarea:valid {
border-color: green;
}
.radio-group input[type="radio"]:checked {
border-color: green;
background-color: green;
box-shadow: inset 0 0 0 4px white;
}
button:hover {
background-color: black;
}
input[type="radio"]:checked + label {
color: green;
}
button:disabled {
background-color: grey;
}
input:first-of-type {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
textarea:nth-child(5) {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15
Challenge Information:
Build a Job Application Form - Build a Job Application Form