Chinese Zodiac

Lunar New Year 2020:

Objective:

Create a Zodiac Table with a button that can lookup a zodiac animal for a specific year.

Problem:

The user not know their zodiac sign or want to find out what it is quickly. When do we know when is Lunar New Year (2020)?

Solution:

We create an equation that can solve which zodiac animal you are based on the given year. I created a function that uses the math functions and the time function in JavaScript to calculate the time until the Lunar New Year of 2020.