- create three components :
- Game Control Component
- Odd Component
- Even Component
- The GameControl should have two buttons :
- Start game button
- End game button
- When starting the game an event holding a incrementing number should get emited each Secound (ref = setInterval())
- The event should be listnable from outside the component.
- When stop the game no more event should get emited (clearInterval)
- A new odd component should get created for every odd number emited, the same should happen for the Even component (on Even number).
- Simply output Odd Number or Even Number in the two components.
- Style the element (ex. paragraph) holding your output text differently in both components.
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
hadeellotfi/bind-assignment
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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