Error messages are not your enemy — learn a way of reading them
Do you jump straight to the search box the moment you see red text? Read the stack trace from the bottom, use the exception name to narrow things down — here are those habits, worked through with real Python and JavaScript examples.