To run, just serve the files on an http server. e.g.:
python3 -m http.server
it doesn't work with directly opening index.html in a browser.
The data (items added) should be synced across multiple browser tabs/windows then (not across browsers or private windows).