Build a Job Application Form - Build a Job Application Form

Tell us what’s happening:

I can’t see what’s worng. Everything looks okay but it’s not passing any of the tests, not even the “You should have a div element with the class container.”

Every single user story is marked X. Please help me check what could be wrong. Thank you.

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>
    <style rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
    <form>
        <label for="name">Full Name:</label>
        <input type="text" id="name">
        <label for="email">Email:</label>
        <input type="email" id="email">
        <label for="position">Position:</label>
        <select id="position">
            <option>Technical Writer</option>
            <option>Web Developer</option>
            <option>LinkedIn Social Media Manager</option>
            <option>Virtual Assistant</option>
        </select>
        <fieldset class="radio-group">
            <legend>Availability</legend>
            <label for="full-time">Full Time</label>
            <input type="radio" id="full-time" name="availability">
            <label="part-time">Part Time</label>
            <input type="radio" id="part-time" name="availability">
        </fieldset>
        <label for="message">Anything else you want us to know?<label>
        <textarea id="message"></textarea>
        <button type="submit">Submit</button>
    </form>
</div>
</body>
</html>
/* file: styles.css */
input:focus, textarea:focus{
  border: 2px solid khaki;
}
input:invalid, select:invalid, textarea:invalid{
  border: 2px solid red;
}
input:valid, select:valid, textarea:valid{
  border: 2px solid green;
}
button:hover{
  background-color: midnightblue;
}
.radio-group:checked{
border: 2px solid pink;
box-shadow: 5px;
}
button:checked{
color: gray;
}

input:first-of-type{
  border: 4px;
  border-radius: 8px;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

Build a Job Application Form - Build a Job Application Form

are you sure you are doing this in the right way?

1 Like

It’s supposed to be link instead of style. Can’t believe I missed that. Thanks a lot.