Build a Job Application Form - Build a Job Application Form

Tell us what’s happening:

#7 .radio-group is not showing that I have the label “availability”. Mine is capitalized, but I’ve tried it un-capitalized and it’s not working. Why? From what I understand the Legend is the group name and it must be the first child, which mine is.

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="fulltime">Full Time: </label>
                <input type="radio" id="fulltime" name="fulltime">
                <label for="parttime">Part Time: </label>
                <input type="radio" id="parttime" name="parttime">
            </fieldset>
            <textarea id="message"></textarea>
        </form>
    </div>

</body>
</html>
/* file: styles.css */

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

  • right now these radio elements are not grouped together, they are separate from each other even though within a feildset

To make them a group they need to have a common “name” attribute, happy coding :slight_smile: