Skip to content

Adrinlol/AgeVerification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

111111

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

111111

Releases

No releases published

Packages

No packages published