leovaldez08 / lab-react-counter-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo-nav

Kalvium Lab | Counter App

Learning Goals

The learning goal for this exercise will be to understand the usage of states using class components.

Whenever you create a first significant change, you should make your first commit.

  1. Follow these guidelines to add, commit and push changes.

Introduction

Your task is to create a simple counter app, as shown below:

counter-app

NOTE: The design need not be exactly the same, but the structure must be same. The structure should be as follows:

  1. Name of the app --> Counter App
  2. Below the name of the app, the counter should be displayed.
  3. Below the counter, there should be three buttons on the same line. The three buttons should be -
    1. Increase button --> which will increament the counter by one.
    2. Decrease button --> which will decreament the counter by one.
    3. Reset button --> which will reset the counter to 0.

use npx-create-react-app name-of-the-app command to create the react app. Make sure you are using class component to complete this exercise.

Happy Coding Kalvium ❤️!

About


Languages

Language:HTML 42.4%Language:JavaScript 33.2%Language:CSS 24.4%