Tell us what’s happening:
Hello Everyone
i am stuck on the 17th step and my code is not running and it’s the only step that i’m missing to complete the task
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>
<h1 class="title">Job Application Form</h1>
<div class="container">
<form>
<label for="name">Name</label>
<input type="text" id="name" required>
<br>
<label for="email">Email</label>
<input type="email" id="email" required>
<br>
<label for="position">Positions</label>
<select id="position" size="3">
<option>Full-Time</option>
<option>Part-Time</option>
<option>Flexi</option>
</select>
<fieldset class="radio-group">
<legend>Availability</legend>
<input type="radio" id="fulltime" name="availability">
<label for="fulltime">Full-Time</label>
<input type="radio" id="parttime" name="availability">
<label for="parttime">Part-Time</label>
<input type="radio" id="flexi" name="availability">
<label for="flexi">Flexi</label>
</fieldset>
<label for="message">Message</label>
<textarea id="message"></textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
body {
font-damily: arial, sans-serif;
background-color: lightblue;
}
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:black;
background-color: purple;
}
.radio-group input[type="radio"]:checked + label {
color: green;
font-weight: bold;
box-shadow: 0 0 5px green;
}
.radio-group input[type="radio"]:checked {
box-shadow: 5px black;
}
input:first-of-type {
border-radius: 20px;
}
button:hover {
background-color: green;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form