vanilla js web application tutorial (1)