Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 807 Bytes

exercises.md

File metadata and controls

25 lines (13 loc) · 807 Bytes

To try out an exercise, first check out the branch with the name of that exercise. For example, to try out Exercise 1, checkout branch ex1:

 git checkout origin ex1

Exercise 1

Implement the Recipe view to show all the details about a particular recipe.

Bonus: Refactor the RecipeList-Recipe interaction by pulling the repeated if statement in Recipe into RecipeList.

Exercise 2

Refactor the ingredient display into its own component.

Exercise 3

Add a form to add a new recipe with a maximum of three ingredient, with a fixed set of 3 ingredient fields on the page.

Exercise 4

Add the ability to have as many ingredients as required by creating or removing input fields as necessary.

Exercise 5

Auto-select the default measure when a user chooses the ingredient name.