This example demonstrates how to use the setItem() method to set the value of a specified session storage item.
Click the button to get the item value: