Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Treehouse Club - MASH MASH - HTML Changing Your Stuff in Your Body

Lahav Morris
Lahav Morris
4,056 Points

i don't understand what am i suppost to do

im in the html part of mash and i dint get what am i suppost to do

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

  <form>
    <div>
      <h4>Favroite Foods?</h4>
      <input namefood[]="location[]">
      <input namefood[]="location[]">
      <input namefood[]="location[]">
      <input namefood[]="location[]">
    </div>

    <div>
      <h4>Favroite Animals?</h4>
      <input nameanimal[]="profession[]">
      <input nameanimal[]="profession[]">
      <input nameanimal[]="profession[]">
      <input nameanimal[]="profession[]">
    </div>
  </form>

</body>

1 Answer

Jake Lundberg
Jake Lundberg
13,965 Points

it's asking you to change the word "location" to "food", and the word "profession" to "animal", like this:

<input name="food[]">

<input name="animal[]">