Learn JavaScript

Lesson 6 of 9 · Forms, Storage and Small Apps

Module 15 · Forms, Storage and Small Apps

The Interview Pack: Validation Tasks, the Token Question and Date Puzzles

ProReading

Nadia has a front-end interview next week at a software company in Gulshan. Her friend who went last month says three things came up. There was a validation function written live, a question about where to keep a sign-in token, and some Date code to predict. The questions look small, and each one hides a trap this module has covered.

Checking what this lesson needs for you…

What is inside The Interview Pack: Validation Tasks, the Token Question and Date Puzzles

  1. Pattern 1: validation rules as data
  2. Pattern 2: dates as day numbers, and prefix counts
  3. Eight date puzzles
  4. Where would you store a sign-in token?
  5. Six interview questions