Simple JS library for creating a notice that cookies are used on the website.
The library handles displaying the message and saving the fact in a cookie that the user gave her consent by clicking the dismiss-button. The message is shown again after 30 days.
npm i idai-cookie-notice --save
idai-cooke-notice.js in your HTML.
Styling uses bootstrap classes but can be customised using CSS with the id