Skip to content

TDoTcom/JavaScript-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Date Difference Calculator

This project is a simple web application that allows users to select two dates and times, calculates the difference between them, and displays the result in seconds, minutes, hours, days, months, and years. Additionally, users can customize the background and text colors while keeping track of modifications in a history log.

Features

Select two dates and times to calculate the difference.

Display the difference in various units (seconds, minutes, hours, etc.).

Customize the background and text colors.

Prevents selecting the same color for background and text.

Modification history to track changes in dates and colors.

User-friendly interface with improved styling.

How to Run the App

Using Live Server Extension (Recommended)

You can easily launch this application using the Live Server extension in VS Code. Follow these steps:

Install the Live Server extension from the VS Code marketplace if you haven't already.

Open the project folder in VS Code.

Right-click on index.html and select Open with Live Server.

The application will open in your default web browser.

Manual Method

If you don’t have Live Server installed, you can manually open the application:

Navigate to the project folder.

Open index.html in a web browser (Chrome, Firefox, Edge, etc.).

Technologies Used

HTML

CSS

JavaScript (Vanilla JS, no external libraries)

Project Structure

πŸ“ project-folder β”œβ”€β”€ πŸ“„ index.html # Main HTML file β”œβ”€β”€ πŸ“„ styles.css # Styling for the app β”œβ”€β”€ πŸ“„ script.js # JavaScript logic for the app β”œβ”€β”€ πŸ“„ README.md # Project documentation

License

This project is open-source and free to use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published