Not sure about your first question
Common mistakes that people make are missing semicolons, parenthesis, etc.
Mistakes that make code "harder to work with" are things like messy formatting. They don't break the code themselves, but they do make it a lot harder to find things that do break the code.
As for the third question, what Port said, though I don't see any point in the middle part other than console spam