I\'m working on creating a calendar for an html page but this is the error I get for my month and then the same with the year. I tried the window.onload but it did not work.