I followed this guide to create a notification bar: Creating a Notification bar in Webflow | Tutorial - YouTube
Everything works fine, except the cookie part. The notification always shows even though I set the cookie to 7 days.
In console, I see this error:
I checked my code with Pixelgeek’s multiple times and I’m pretty sure the code is correct, but the cookie is not working.
Does anyone else have success with the cookie?