session sorage in the js code example
Example 1: localstorage
var cat = localStorage.getItem('myCat');
Example 2: localstorage
localStorage.removeItem('myCat');
var cat = localStorage.getItem('myCat');
localStorage.removeItem('myCat');