How can I access information being stored on one page of my chrome extension on a separate page of my chrome extension

I’m currently working on a chrome extension and using the storage API to save inputs and values. I want the user to be able to input a goal number on the settings page and display that number on the index page. How do I go about doing this?

I’ve tried accessing the stored goal value however it comes up as null while on the index page. It is properly stored when on the settings page.