Skip to content

This project includes a simple JavaScript function to determine if a given year is a leap year. A leap year is a year that is divisible by 4, except for years that are divisible by 100 but not divisible by 400. this content currect

Notifications You must be signed in to change notification settings

Gnanaprakash-Dev/Leap-Year-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leap Year

This is a simple web application that determines if a given year is a leap year or not.

How to Use

  1. Enter a year (YYYY format) in the input field.
  2. Click the "Submit" button.
  3. The app will display a message indicating whether the inputted year is a leap year or not, along with a corresponding image.

Technical Details

This app is built using HTML, CSS, and JavaScript. It checks whether a year is a leap year by applying the following rule: a year is a leap year if it is divisible by 4 but not by 100, or if it is divisible by 400.

Demo

View Demo

Installation

  1. Clone the repository: git clone https://github.com/Gnanaprakash-Dev/Leap-Year-Project.git
  2. Open the index.html file in your web browser.

Credits

This app was created by [Gnanaprakash.G]. If you have any questions, feel free to contact me at [salemprakash921@gmail.com].

License

This project is licensed under the MIT License.

About

This project includes a simple JavaScript function to determine if a given year is a leap year. A leap year is a year that is divisible by 4, except for years that are divisible by 100 but not divisible by 400. this content currect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published