Skip to content

A simple web app to count and track the number of people entering a location, with features to save entries and display a running total.

Notifications You must be signed in to change notification settings

naimmazni/passenger-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passenger Counter

A simple web application to count and track the number of people entering a location, such as a station. The app allows you to increment a counter, save the current count, and keep a running total of all entries.

Features

  • Increment the people counter with a button
  • Save the current count and reset the counter
  • Display a list of previous entries
  • Show the cumulative total of all saved entries
  • Stylish interface with a background image

Usage

  1. Open index.html in your web browser.
  2. Click INCREMENT to increase the count.
  3. Click SAVE to add the current count to the list of previous entries and update the total. The counter will reset to zero.
  4. The "Previous entries" section will show all saved counts, and the "Total" section will display the cumulative total.

File Structure

  • index.html – Main HTML file for the app interface
  • index.js – JavaScript logic for counting, saving, and updating the display
  • index.css – Styling for the app, including background image and layout
  • station.jpg – Background image used in the app

Credits

  • Background image: station.jpg (add attribution here if required)

This is a static web app and does not require any build tools or dependencies. Simply open index.html in your browser to use it.

About

A simple web app to count and track the number of people entering a location, with features to save entries and display a running total.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors