Back when I was learning to code, I knew domeone who had errors like this, spelling errors too. Most times I caught them for him cos bro wasn't thinking "missed semi-colon" or "misspelled a word".
I think as you get better, you look out for complex bugs missing the common ones.
If you spend hours looking for a missing semi colon, you don’t know what you’re doing.