Build a Hotel Feedback Form - Step 15

Tell us what’s happening:

I have add size and given it value of 20 but somehow the test case fails

Your 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>

<!-- User Editable Region -->

          <input type="text" id="full-name" name="name" placeholder="Ex. John Doe" required>
          <label for="email">Email address (required):</label>
          <input type="text" id="full-name" name="name" placeholder="Ex. John Doe" required size="20">
         

<!-- User Editable Region -->

        </fieldset>
      </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/137.0.0.0 Safari/537.36

Challenge Information:

Build a Hotel Feedback Form - Step 15

Welcome to the forum @as5185

You have two input elements for name.
The input for email has disappeared.

Please reset the step to restore the seed code and try again.

Happy coding

The problem was that the input field for the email address had the same identifier and name as the input field for the full name.

Solution: You need to give the email input field a unique identifier and name, specifically “email” for both.