Uncaught TypeError: Cannot read property 'appendChild' of null code example
Example 1: Uncaught TypeError: Cannot set property 'marginTop' of undefined
Uncaught TypeError: Cannot set property 'marginTop' of undefined
Example 2: Uncaught TypeError: Cannot read property '_calendar' of undefined
you just passed wrong parameter value inside date parameter