Build a Hotel Feedback Form - Step 9

Tell us what’s happening:

I have placed the placeholder attribute in the input element but still getting error as " input element should have a placeholder element in step 9

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 required type="text"placeholder="e.g.,John Doe"/> 

<!-- 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/142.0.0.0 Safari/537.36 Edg/142.0.0.0

Challenge Information:

Build a Hotel Feedback Form - Step 9

Hi there!

Just look at the example:

"e.g., John Doe"

And your variant:

"e.g.,John Doe"

Can you see the difference?

Hi thank you for pointing out

I always get stuck for hours looking for a mistake

1 Like