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 Forms, Divs, and Inputs

it look like task one is no longer passing

it is saying i can not go the next question " it looks like task one is no longer passing " please help me with this best regards

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

  <form>

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

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

  </form>

</body>

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! First off, you're doing great and I think there may have been a copy/paste error here. In your code I see:

 <input name="food[]"type="text>

This line is repeated (and it's supposed to be), but in that line the ending quotation marks between "text" and the > are missing. Take a look:

 <input name="food[]"type="text">  <!-- Note the additional " before the > -->

When I go through each line and put a quote " in the correct space, your code passes step 2!

Hope this helps! :sparkles:

Hey! You're doing great. Just missing quotation mark at he end of type = "text" >. Text should be in quotation marks. You can see that in next line <input name.....is the same colour like "text" in line above. That means you are missing something to close this line above. In this case ..."... to close text. Hope this helps and keep coding!

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi Kristine Mezgaile ! I changed your comment to an answer. To be honest, I didn't see it when I posted my answer. This has both the benefit of marking the question as answered in the forums and also allow for voting on your answer. Thank you for helping out in the Community! :sparkles: