Skip to content

About

A simple and responsive Counter App built with React and Vite to practice useState, event handling, and component-based development.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

React Counter App

Preview

React Counter App Screenshot

A simple and responsive Counter App built using React and Vite. This project was created as part of my React revision to practice React fundamentals.

Features

  • Increment the counter
  • Decrement the counter
  • Reset the counter to zero
  • Dynamic messages based on the counter value
  • Responsive layout
  • Functional state updates using React's useState hook

Tech Stack

  • React
  • JavaScript (ES6+)
  • CSS3
  • Vite

Project Structure

Counter-react-app/
├── public/
├── src/
│   ├── assets/
│   ├── CounterApp/
│   │   ├── CounterApp.jsx
│   │   └── CounterApp.css
│   ├── App.jsx
│   ├── index.css
│   └── main.jsx
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── README.md
└── vite.config.js

Getting Started

1. Clone the repository

git clone YOUR_REPOSITORY_URL

2. Navigate to the project directory

cd Counter-react-app

3. Install dependencies

npm install

4. Start the development server

npm run dev

What I Practiced

  • Creating reusable React components
  • Managing state with useState
  • Handling click events with onClick
  • Updating state using functional updates
  • Organizing component-specific and global CSS

Purpose

This project is part of my ongoing React revision and frontend development practice.


🛠️ Tech Stack

Frontend

React    JavaScript    CSS3    Vite


🤝 Connect with Me

If you have any questions or would like to connect, feel free to reach out through the platforms below.

LinkedIn

LinkedIn

Gmail

Gmail

💖 Support & Usage

If you find this project helpful, please consider:

  1. Giving the repository a Star ⭐
  2. Sharing feedback or suggestions
  3. Giving credit if you use this project as a learning reference

About

A simple and responsive Counter App built with React and Vite to practice useState, event handling, and component-based development.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages