Trying to create a privacy policy notification bar at the footer of a page and only showing for new visitors. Looking to dismiss the notification on click of acceptance. Right now the bar is showing up fixed at the bottom of page but I can't seem to get the notification bar to dismiss on click.
<span class="banner tracking-banner p-t-1">
<div class="container">
<div class="row">
<div class="col-sm-10 text-left m-b-1">
This website uses cookies and other 3rd party services to customize and provide you a more personalized experience. To find out more, see our <a href="/privacy/">Privacy Policy</a>.
</div>
<div class="col-sm-2 m-b-1">
<button class="dismiss btn btn-sm btn-block btn-invert">Accept</button>
</div>
</div>
</div>
</span>
JS
$(".banner").fadeIn("slow").append(".container");
$(".dismiss").click(function(){
$(".banner").fadeOut("slow");
});