Created
November 18, 2021 09:37
-
-
Save Octagon-simon/59098db5cee48b85e35ac4ed3898569b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if( confirm("I am above 18 years") === true ){ | |
| //proceed | |
| }else{ | |
| window.location.assign("./"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment