Skip to content

vardhanss/Randomcounter

Repository files navigation

In this assignment let's build a Even Odd App by applying the concepts we have learned till now.

Refer to image below:


even-odd-app-output

Design Files

Project Set Up Instructions

  • Download dependencies by running npm install
  • Start up the app using npm start

Project Completion Instructions

Add Functionality

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.js
    • src/components/EvenOddApp/index.css

Resources

Colors

Hex: #FF6E7F
Hex: #bfe9ff
Hex: #0f172a
Hex: #334155
Hex: #ffffff
Hex: #1e293b

Font-families

  • Roboto

Things to Keep in Mind

  • 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.
  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published