Wrote an article
https://itsmycode.com/syntaxerror-unexpected-eof-while-parsing/