Tell us what’s happening:
I keep getting failed on steps 9, 17 and 18. can anyone help me to understand what i am doing wrong?
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">
<label for="name">Name (required)</label>
<input type="email" id="email">
<label for="emil">Email(required)</label>
<label for="position">Position (required)</label>
<select id="position" name="position">
<option value="frontend">Front End Developer</option>
<option value="backend">Back End Developer</option>
<option value="fullstack">Full Stack Developer</option>
<option value="webtester">Web tester</option>
<option value="analytics">Analytics</option>
</select>
<label id="radio-group">Choose your desired work hours:</label>
<fieldset class="radio-group">
<legend>Availability</legend>
<label for="full-time">Full-Time</label>
<input type="radio" id="full-time" name="availability" value="full-time" required>
<label for="part-time">Part-Time</label>
<input type="radio" id="part-time" name="availability" value="part-time" required>
<label for="overnight">Overnight</label>
<input type="radio" id="overnight" name="availability" value="overnight" required>
</fieldset>
</fieldset>
<textarea id="message"></textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
input:focus,
textarea:focus {
border-color: purple;
outline: none;
}
input:invalid,
select:invalid,
textarea:invalid {
border-color: red;
}
input:valid,
select:valid,
textarea:valid {
border-color: green;
}
button:hover {
background-color: crimson;
}
.radio-group input[type="radio"]:checked {
border: 2px solid purple;
background-color: green;
box-shadow: 0 0 5x gray;
}
.radio-group label {
border: 2px solid gray;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
display: inline-block;
transition: background-color 0.3s, border-color 0.3s;
}
input:first-of-type {
border: 2px solid orange;
padding: 10px;
}
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 Edg/137.0.0.0
Challenge Information:
Build a Job Application Form - Build a Job Application Form