You need to use Localstorages .setItem()
and .getItem
check this out.
https://www.taniarascia.com/how-to-use-local-storage-with-javascript/
So something like this
// set the itemlocalStorage.setItem('showCase', 3600);//get the itemvar showCase = localStorage.getItem('showCase');