In this assignment let's build a Even Odd App by applying the concepts we have learned till now.
- Extra Small (Size < 576px), Small (Size >= 576px)
- Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px)
- Download dependencies by running
npm install - Start up the app using
npm start
The app must have the following functionalities
-
When the page is opened the HTML heading element should have Count 0 as text content and the first HTML paragraph element should have Count is Even as text content initially.
-
When the Increment button is clicked
- The count should be increased by a random number between 0 to 100.
- If the count is an even number and text content of HTML paragraph element should be Count is Even.
- If the count is an odd number and text content of HTML paragraph element should be Count is Odd.
-
Your task is to complete the implementation of
src/components/EvenOddApp/index.jssrc/components/EvenOddApp/index.css
Hex: #FF6E7F
Hex: #bfe9ff
Hex: #0f172a
Hex: #334155
Hex: #ffffff
Hex: #1e293b
- Roboto
- All components you implement should go in the
src/componentsdirectory.- Don't change the component folder names as those are the files being imported into the tests.
- Do not remove the pre-filled code
- Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.
