Skip to content

Instantly share code, notes, and snippets.

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
@Daveawb
Daveawb / SassMeister-input.scss
Created April 26, 2015 19:36
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
.test {
width: unquote((100 / 3) + "%") ;
}