Skip to content

The goal of the assignment is to practice creating components and emitting and listening to events in Angular. The styling of the output element is an additional challenge to practice styling in Angular.

Notifications You must be signed in to change notification settings

hadeellotfi/bind-assignment

Repository files navigation

Bind It! (Task in Angular)

  1. create three components :
    • Game Control Component
    • Odd Component
    • Even Component
  2. The GameControl should have two buttons :
    • Start game button
    • End game button
  3. When starting the game an event holding a incrementing number should get emited each Secound (ref = setInterval())
  4. The event should be listnable from outside the component.
  5. When stop the game no more event should get emited (clearInterval)
  6. A new odd component should get created for every odd number emited, the same should happen for the Even component (on Even number).
  7. Simply output Odd Number or Even Number in the two components.
  8. Style the element (ex. paragraph) holding your output text differently in both components.

About

The goal of the assignment is to practice creating components and emitting and listening to events in Angular. The styling of the output element is an additional challenge to practice styling in Angular.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages