A year is leap year if following conditions are satisfied:
- Year is multiple of 400.
- Year is multiple of 4 and not multiple of 100.
- Get the value of input field by using document.getElementById(“year”).value
- Before input year:
- After input leap year:
- After input not leap year:
My Personal Notes arrow_drop_up