I learn a lesson that putting javascript codes/files into last part of body area in normal situations because javascript codes can actually access DOM in body tag area. If I put them in header area of html file, it won’t work as I expect. According to my friends' explanations, it runs first before the body renders complete in normal scenarios. I learn the lesson when I was trying to generate
read more