Edit This Code:
See Result »
JavaScript is Case Sensitive
Try change lastName to lastname.
Result: