Skip to content

Homework 11 Directives & pipes #256

@MZabolotnev

Description

@MZabolotnev

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

  1. Get the latest updates from Academy's repo by instruction;

  2. To your homework folder add a folder named 10-directives

  3. 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:
image

Advanced Task

  • Add sorting by by cook time : fastest, longest.
  • Add filter by “food_pairing”: chicken, salad, cheese etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions