Copy this file to
/var/www/html/.
open it in Chromium or Firefox (
http://locahost/example.html
)
reload it so that the localStorage settings are picked up
now open the inspector and see the debug messages
Debug 1
Debug 2