crud tutorial with vanilla js (1)