Tips For Program

Uncaught TypeError: Cannot read property ‘className’ of null

This error occurs because we called a class or id that is not defined inside the body tag in html , or its div is not defined in a proper way. Actually div is not existed, there is no element html elements. So check the code and correct the error.