Skip to content

Instantly share code, notes, and snippets.

@Daveawb
Last active February 15, 2019 15:11
Show Gist options
  • Save Daveawb/baeb89e37c11549c0e84a62242a2f14e to your computer and use it in GitHub Desktop.
Save Daveawb/baeb89e37c11549c0e84a62242a2f14e to your computer and use it in GitHub Desktop.

YLD Frontend Code Challenge additional questions for front-end

Add Enter and Delete buttons

  • Enter submits the Pin for check (which means now the length could even be 3)
  • Delete, deletes the last input number

Variable length

  • The max length of the pin is 8
  • If a right pin is typed after 4 digits, we should show OK

API Data

  • The correct PIN comes from this URL
  • Make the app load it

Variable locking time

  • After the user locks the screen make it unavailable for a time that is variable starting from 2 secs and doubling every time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment