I tried to create registration and login system with vanilla JS where I used localStorage and Session Storage to keep track of logged in users
You can access live version from here -> https://mohamedashrafibraheem97.github.io/registrationAndLoginVanillaJS/index.html