Build a Hotel Feedback Form - Step 19

Tell us what’s happening:

It keeps on saying that "your radio button should have an id set to “yes-option” even though I’ve already done that

My code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Hotel Feedback Form</title>
  </head>
  <body>
    <header>
      <h1>Hotel Feedback Form</h1>
      <p>
        Thank you for staying with us. Please provide feedback on your recent
        stay.
      </p>
    </header>
    <main>
      <form method="POST" action="https://hotel-feedback.freecodecamp.org">
        <fieldset>
          <legend>Personal Information</legend>
          <label for="full-name">Name (required):</label>
          <input type="text" id="full-name" name="name" placeholder="Ex. John Doe" required size="20">

          <label for="email">Email address (required):</label>
          <input
            placeholder="example@email.com"
            required
            id="email"
            type="email"
            name="email"
            size="20"
          />
          <label for="age">Age (optional):</label>
          <input type="number" name="age" id="age" min="3" max="100" />
        </fieldset>

<!-- User Editable Region -->

        <fieldset>
          <legend>Was this your first time at our hotel?</legend>
          <label for="yes-option">Yes</label>
          <input type="radio" id="yes-opton" name="first-time">
        </fieldset>

<!-- User Editable Region -->

      </form>
    </main>
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Hotel Feedback Form - Step 19
https://www.freecodecamp.org/learn/full-stack-developer/workshop-hotel-feedback-form/step-19

this ‘option’ is missing a letter

Thanks, didn’t notice the spelling mistake

i also noticed that the name attribute was set to the wrong thing, so it’s working now

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.