i have created a cookie bar (div with text and buttons). (Using Webflow)
I want the cookie bar to hide after a button is clicked (accept or refuse). For a year, or month…
Cookie bar class: cookie-notice
Cookie bar id: cookie-notice
Accept button class: cn-accept-cookie
Accept button id: cn-accept-cookie
Refuse button: cn-refuse-cookie
Refuse button id: cn-refuse-cookie
How can i do this using javascript (prefer) or jquery?
Thanks alot!