https://github.com/adrinlol/ageverification
Flat Rock Technology - Front-end Developer Test Task
https://github.com/adrinlol/ageverification
age-verification interview javascript test-task
Last synced: 3 months ago
JSON representation
Flat Rock Technology - Front-end Developer Test Task
- Host: GitHub
- URL: https://github.com/adrinlol/ageverification
- Owner: Adrinlol
- Created: 2019-07-07T10:54:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-07T13:13:20.000Z (almost 6 years ago)
- Last Synced: 2025-01-20T13:35:05.110Z (5 months ago)
- Topics: age-verification, interview, javascript, test-task
- Language: HTML
- Homepage: https://codepen.io/Adrinlol/pen/Pryzrw
- Size: 114 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AgeVerification
Flat Rock Technology - Front-end Developer Test Task## Task Description
When the user opens the page there will be age validation. The user must be at least 18 years old.1.1 If the user enters an invalid date, a validation message should appear.
1.2 If the user enters a valid date:
- a cookie should be created that allows the user to view the page without age validation anymore
- validation disappears and the user can see the page
## Display the error if :
- There is no input
- The input for month is > 12
- For some weird reason the user is over 119 years old