Build a Hotel Feedback Form - Step 15

Tell us what’s happening:

please help me find my mistake. my code isn’t working

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
            placeholder="example@email.com"
            required
            id="email"
            type="email"
            name="email"
           />
           <label for="name">Name:</label>
           <input type="text" id="name" name="name" size="20"><br><br>
           <label for="email">Email:</label>
           <input type="email" id="email" name="email" size="20"><br><br>
           <input type="submit" value="Submit">

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

You have added code, but the instruction was simply to add a size attribute to the given #full-name and #email input elements.

1 Like