The goal of this coding exam is to quickly get you off the ground with Lists and Keys.
Click to view
Click to view
- Download dependencies by running
npm install
- Start up the app using
npm start
Functionality to be added
The app must have the following functionalities
-
Initially, the list of tasks and
Task
input should be empty and the active option in theTags
select element should be the first item of the given tagsList. -
When non-empty values are provided for Tasks, Tags and the Add Task button is clicked,
- A new task should be added to the list of tasks.
- The value inside the
Task
input andTag
select elements should be updated to their initial values.
-
When a single tag is clicked it should be changed to an active state and filtered tasks should be displayed accordingly.
-
When no tag in the list of tags is active, then all the tasks should be displayed.
-
The
App
component consists of thetagsList
. It consists of a list of tag details objects with the following properties in each object.key DataType optionId String displayText String
Click to view
The following instruction is required for the tests to pass
- Use the
uuid
package to generate the unique id.
Colors
Font-families
- Roboto
- All components you implement should go in the
src/components
directory.- Don't change the component folder names as those are the files being imported into the tests.