i have reviewed the video numerous times and am still not able to assign the class to the div element?
Please help i am completely at a loss as to where i am going wrong here in assigning the class to the div element in this challenge.
<body> <h1>First Day of School</h1> <form> <div class="favourite_stuff"> <div> <h4>Favorite Foods?</h4> <input name="food"> <input name="food"> <input name="food"> <input name="food"> </div> <div> <h4>Favorite Animals?</h4> <input name="animal"> <input name="animal"> <input name="animal"> <input name="animal"> </div> </div> </form> </body>
Ultimately my roadblock turned out to be that I was spelling 'Favorite' as 'Favourite' due to my British sensibilities. After much deliberating my sanity I returned to the question to realise that the solution was an unexpected one. But it's a great learning curve to realise that the pitfalls I may face might not necessarily be coding related. Sometimes fresh eyes can remove the bias from a search. Thank you to Steven Parker for updating your response to reflect this for other users.
Steven Parker200,784 Points
The instructions say, "Give both <div> elements the class of "favorite_stuff"." But instead of giving that class to each of the two elements already on the page, you've added another element and given a class to that one.
Also, be sure to spell the class name as in the instructions. You wrote "favourite_stuff" here instead of "favorite_stuff".
Ahh Steven Parker, what use is it to question ones sanity; if one cannot then merit from ones eureka through such torturous hours? Thank you again for updating your answer to reflect spelling if you would like me to change the answer to yours id be happy to.