Our Blog
Check out all the latest
Shopping has never been so easy
Cookie Notification .cookie-notification { position: fixed; bottom: 0; left: 0; width: 100%; padding: 10px; background-color: #333; color: #fff; text-align: center; } .cookie-notification button { background-color: #fff; color: #333; border: none; padding: 5px 10px; margin: 0 10px; cursor: pointer; } const notification = document.querySelector('.cookie-notification'); const acceptButton = document.getElementById('accept-cookies'); const declineButton = document.getElementById('decline-cookies'); acceptButton.addEventListener('click', () => { notification.style.display = 'none'; // Hide the notification // You can also set a cookie here to remember user's preference }); declineButton.addEventListener('click', () => { notification.style.display = 'none'; // Hide the notification // You might want to adjust your website behavior based on user's choice });