Tell us what’s happening:
I’ve read various people’s questions about this but none of them seemed to help me resolve this. I’m afraid that I just don’t understand the syntax to resolve this.
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>
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" placeholder="Ex: John Doe">
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Ex: youremail@email.com">
<label for="position">Position:</label>
<select id="position" name="position">
<option value="developer">Developer</option>
<option value="designer">Designer</option>
<option value="manager">Manager</option>
</select>
<label for="radio-group"/>
<fieldset class="radio-group">
<legend>Availability</legend>
<label for="full-time">Full Time: </label>
<input type="radio" id="full-time" name="availability">
<label for="part-time">Part Time: </label>
<input type="radio" id="part-time" name="availability">
</fieldset>
<textarea id="message"></textarea>
<button type="submit" id="submit" name="submit">Submit</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
input:focus, textarea:focus {
border: orange;
}
input:invalid, select:invalid, textarea:invalid {
border: red;
}
input:valid, select:valid, textarea:valid {
border: green;
}
button:hover {
background-color: yellow;
}
.radio-group input[type="radio"]:checked {
border: darkblue;
background-color: lightgreen;
box-shadow: 10px 10px;
}
label:checked {
color: white;
padding: 8px;
}
input:first-of-type {
font-family: sans-serif;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:143.0) Gecko/20100101 Firefox/143.0
Challenge Information:
Build a Job Application Form - Build a Job Application Form
https://www.freecodecamp.org/learn/full-stack-developer/lab-job-application-form/lab-job-application-form
