Skip to content

timLP79/warranty_calculator2

Repository files navigation

Warranty Calculator

A browser-based tool that calculates warranty expiration dates from a purchase date. Displays standard expiration periods (1, 3, 5, and 25 years) with active/expired status and days remaining.

Live Demo


Tech Stack

  • JavaScript (ES6+)
  • HTML5
  • CSS3
  • Webpack

Features

  • Enter a purchase date to instantly calculate warranty expiration dates
  • Certificate-style cards showing active/expired status
  • Visual timeline bar showing progress through the warranty period
  • Days remaining displayed on active warranties
  • Client-side only -- no backend required

Getting Started

Installation

git clone https://github.com/timlp79/warranty_calculator2.git
cd warranty_calculator2
npm install

Development

npm run dev

Production Build

npm run build

Project Structure

warranty_calculator2/
├── index.html                  # Main HTML file
├── css/
│   └── styles.css              # Custom styles
├── js/
│   └── app.js                  # Date calculation and DOM logic
├── webpack.common.js           # Shared Webpack configuration
├── webpack.config.dev.js       # Development Webpack configuration
├── webpack.config.prod.js      # Production Webpack configuration
└── README.md

Contact

About

Warranty Calculator Files and Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors