Can someone assist me with setting up a cookies message popup? I want the message to only display once per user click on accept. Here is the code snippet: https://jsfiddle.net/bz8ur3wu/1/
$(document).ready(function(){
$("button").click(function(){
$(".cookie").fadeOut();
});
});
.cookie{width:100%;padding:20px;background:rgb(231, 231, 231);bottom:0;left:0;position:fixed;}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="cookie">
This website uses cookies.
<button>accept</button>
</div>