Marketplace
Made in Webflow

age-gate-overlay

1156 views
site profile thumbnail

Description

How to use some Javascript and a modal overlay to gate content based on the birthday and calculated age of a user visiting the page or site. This is a modified approach from Finsweet’s age gate redirect hack: https://www.finsweet.com/hacks/21/
Feeling inspired?If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.

We miss comments too!

Right now, Made in Webflow doesn't offer all of the same functionality that Showcase did, like the ability to leave comments. But don't worry: We're working to bring comments back as soon as possible!

As always, we'd love to hear your feedback! Click the link below to take a short survey about Made in Webflow.

agegatevalidationmodalbirthdayagealcoholmedicalage-gate

More by Corey Moen

See profile
View details
Tab Change Interaction
159
902