Clone of the Twitch 2FA Popup Link
Correct PIN is 123456
- Learned how to inputs that autofocus to the next input once the max length has been reached. This is good for future projects when I want to create aesthetic components for things such as 2FA and phone number inputs.
- Learned how to create a basic fake API to check the 2FA Code
- Auto focus on initial load does not work correctly on Firefox. Seems to be only a firefox issues as all other chromium browsers work.
- Remove 'any' types to be more strict. One issue was figuring out what the event type of a catch error was.