Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a program that prompts the user to enter a year and the first day of the year. Year must not be 0. The first
Create a program that prompts the user to enter a year and the first day of the year. Year must not be 0. The first day of the year is number that represents the day of the week. Use 0 for Sunday, 1 for Monday, 2 for Tuesday, etc. Validate the user input values. The program displays the calendar by constructing the HTML table. See the sample outputs.
Your submission must demonstrate your solution in action. Each ZIP file should contain at least one HTML and JS file all in the same folder. Do not duplicate code, use functions to avoid this common issue in programming.
Action Items/Programming Requirements
The solution must use and deliver both an HTML and a JS file.
The JS file must be referenced in the
tag of the HTML document using the