New to coding; need a lotta help!

Also, the Sublime editor I’m using doesn’t show error messages like other editors do; anyone know how to turn them on, so I’m told which code is wrong where?