Deadline
- Create pull request until 15 Jan, 12:00
- Mistakes and comments should be resolved until 17 Jan, 21:00
- Request should be merged until 17 Jan, 21:00
- In other cases pull request will be closed
First of all
-
Get the latest updates from Academy's repo by instruction;
-
To your homework folder add a folder named 10-directives
-
Add your files into this folder:
homeworks/elon.musk_spacex2021/10-directives
Task:
Create a website for a cocktail recipe book with cards. Use the free API for recipes - https://api.punkapi.com/v2/beers.
The card must contain:
- Name
- Description
- Food pairing
- Ingredients (in one list, use custom pipe).
- Time to cook (calculation of all method durations, use custom pipe)
- Image
Also, each card should have a label based on the cook time (fast <50, medium 50-75, long 75> - use custom directive).
The card must be a separate reusable component. All common or reusable logic must be move in service. Page should be responsive.
Colors and styles - up to you. Example:

Advanced Task
- Add sorting by by cook time : fastest, longest.
- Add filter by “food_pairing”: chicken, salad, cheese etc.
Deadline
First of all
Get the latest updates from Academy's repo by instruction;
To your homework folder add a folder named
10-directivesAdd your files into this folder:
Task:
Create a website for a cocktail recipe book with cards. Use the free API for recipes - https://api.punkapi.com/v2/beers.
The card must contain:
Also, each card should have a label based on the cook time (fast <50, medium 50-75, long 75> - use custom directive).
The card must be a separate reusable component. All common or reusable logic must be move in service. Page should be responsive.
Colors and styles - up to you. Example:

Advanced Task