Tell us what’s happening:
Shouldn’t the elements stack on top of eachother, since they’re all display: block; ? Also, i noticed the height is 320px when inspected, is that connected to it?
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">
<h1>Job Application Form</h1>
<form>
<label for="name">Full name</label>
<input type="text" id="name" placeholder="Enter your name">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Enter your email">
<label for="position">Position</label>
<select id="position">
<option>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>
<label for="full"></label>
<input type="radio" name="availability" id="full">Full-time</input>
<label for="part"></label>
<input type="radio" name="availability" id="part">Part-time</input>
</fieldset>
<label for="message">Why do you want this job?</label>
<textarea id="message" rows="4" cols="30" placeholder="Write your motivation.">
</textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
/* file: styles.css */
.container {
display: block;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Build a Job Application Form - Build a Job Application Form