This example demonstrates how to use the getItem() method to get the value of a specified session storage item.
Since you might not have the specified item stored in your session storage, we have added a script that creates it for you.
Click the button to get the item value: