You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move your code to this repository(at least one commit per day)
explain to me, what did you learn from it in a few sentences(not less than 5)
pass the test section
after reviewing your progress and closing this issue - you can move to the next chapter.
Test
Google and learn about constructor and super() function. Tell me what you've learned about it.
With our extended form, I think this test wouldn't be a hard thing for you. So, create an array(at the separated file) with data, for a few meals. at least 3-4.
Then we'll create some sort of meals editing.
display meals at the list. and each meal should have an edit button(pass meal id there).
when a user clicks on edit button - you should display a form(it should be hidden before).
And by using knowledge of this chapter - fill form fields with values your meals array.
So you'll have one form, and each time, by picking an id - you'll grab one element from meals array - and display that data.
https://medium.com/quick-code/how-to-learn-react-9-the-one-thing-you-need-to-know-about-props-and-state-a3f20b16da00
Expected result
Test
Then we'll create some sort of meals editing.
display meals at the list. and each meal should have an edit button(pass meal id there).
when a user clicks on edit button - you should display a form(it should be hidden before).
And by using knowledge of this chapter - fill form fields with values your meals array.
So you'll have one form, and each time, by picking an id - you'll grab one element from meals array - and display that data.
#1
The text was updated successfully, but these errors were encountered: