How to translate from jquery to pure js? - Kevin Powell - Community