JavaScript Treehouse Club - MASH MASH - HTML Forms, Divs, and Inputs

what syntax am I missing in the following code?

</div>

index.html
<body>
  <h1>First Day of School</h1>

  <form>

    <div>
      <h4>Favorite Foods?</h4>
      <div class="favorite_stuff">
      <div class="favorite_stuff">
      <div class="favorite_stuff">
      <div class="favorite_stuff">
    </div>

    <div>
      <h4>Favorite Animals?</h4>
      <div class="favorite_stuff">
      <div class="favorite_stuff">
      <div class="favorite_stuff">
      <div class="favorite_stuff">
    </div>

  </form>

</body>

2 Answers

Dale Severude
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,274 Points

You may want to hit the Restart button for this challenge. The input elements have been replaced with div elements. This is not what you want to do and they need to be reset back.

The top div elements need to be modified like so:

    <div class="favorite_stuff">
      <h4>Favorite Foods?</h4>
      <input name="food[]">
      <input name="food[]">
      <input name="food[]">
      <input name="food[]">
    </div>

    <div class="favorite_stuff">
      <h4>Favorite Animals?</h4>
      <input name="animal[]">
      <input name="animal[]">
      <input name="animal[]">
      <input name="animal[]">
    </div>

Thanks very much Dale-you were right of course. I was definitely interpreting that all wrong. :))))