Nothing here yet.
Nothing here yet.
Please note, acc. to MDN, this is experimental technology and is majorly supported by Chrome & its forks and Samsung browser. We, as developers, have a responsibility to ensure consistent experiences for our users across all supported platforms (in this case browsers). I feel like usage of this tech would hurt it. I highly recommend providing a fallback like NoSleep.js at least for iOS & Android. Reference: https://dev.to/mikeesto/the-screen-wake-lock-api-51hp MDN: https://developer.mozilla.org/en-US/docs/Web/API/WakeLock#browser_compatibility
Hello there, It would've helped to understand the reasoning behind the approach rather than the code upfront. I recommend updating the password validation function to include a min character count, special chars check, lowercase & uppercase checks as a general security practice.