I am setting a localstorage value when the user clicks onto a page in the app training.js and then I want this value to be read by sidebar.js, when
training.js
sidebar.js