 Being particular, the error line indicates to the for statement in the below code snippet.  my js code-  my HTML code-  (I'm working in windows OS)