I use a Jquery code to hide a div, and I would like that when I click the close button it will save and prevent it from being displayed again to the user when the page is reloaded.
$(document).ready(function() {
$(".info-game--remove").click(function() {
$('#info-game').css("display","none");
});
});
I have seen about cookies but I do not know how to implement this code,