Build a Hotel Feedback Form - Step 15

Tell us what’s happening:

I am not sure what it is wanting me to do. i have tried adding the size attribute with the value of 20 under the name and id inputs. and from seeing other code i just tried adding it under the last name input and nothing is 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"
            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/135.0.0.0 Safari/537.36 Edg/135.0.0.0

Challenge Information:

Build a Hotel Feedback Form - Step 15

Read the instructions carefully, whether to add the size attribute only for the email input or for both the name and email input.

1 Like

you are giving the input on name and email a size value of 20. The lesson gives you an example.

1 Like

You have to give input type name a 'size=“20” ’ too to pass the test

2 Likes

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