Local Storage vs Cookies in JavaScript: Key Differences and When to Use Each | CodeTrail