crud application in vanilla js (1)