Overview

The purpose of this assignment is to demonstrate competency in translating an algorithmically derivable HTML mark-up layout containing a table and render that table with JavaScript. The student will re-enforce skills learned in relation to mark-up, CSS, and JavaScript while completing this assignment.

Assignment

Use all of the JavaScript skills learned up to this point to create a web-page that creates a dynamic calendar page. Create a form that allows the user to enter a unique calendar month and year. You can choose reasonable ranges for validation, but include as many possible calendar months as possible.

When completing this assignment, the primary difficulty encountered in writing the algorithm will be determining the day of the week on which to draw the 1st of a given month. This problem can be addressed by a mathematical process called "Zeller's Algorithm":

  • https://en.wikipedia.org/wiki/Zeller's_congruence

Once you feel like you have a good understanding of the way Zeller's algorithm works, write a JavaScript function that takes the necessary inputs for the day, month, year, and century. This can be used to determine on which day to draw the 1st for the month in your calendar month display.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.