Given a JSON of birth dates, this code shows the day on which the birth days will fall for a given year.
Open file task3.html in your browser.
Enter an array of json in the input box. Sample:
[{
"name": "Tyrion Lannister",
"birthday": "12/02/1978"
}, {
"name": "Cersei Lannister",
"birthday": "11/30/1975"}]
Select a year from select box.
Initials of each person is displayed in the box corresponding to the day on which his/her bday falls in the selected year.