how to remove a sessionstorage item based on it's value javascript code example Example: localstorage clear item localStorage.removeItem(key);