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
react components managing state quiz - questions 5 & 6
I am entering what I am pretty sure are correct answers for the coding portion of this quiz but I keep failing the quiz based on the last two questions, the answers are pretty straight forward, I think there may be a glitch, can someone take a look and advise
Hi there Bryant, for question 5 Tanuki is absolutely correct, you just need to capitalize the 'C' in
onChange. For question number 6, note that they are asking to bring the students in from the previous state, and that they have used the expanded form of the setState function that passes the
prevState parameter to the function body. So, instead of using
...this.state.students, you would want to use
Hope this helps!