Description: - Favorites should be retained when the browser is closed and reopened. Tasks: - Create helper functions for localStorage. - Load saved favorites on startup. - Update the stored data when favorites change. - Handle invalid or corrupted stored JSON. - Store only the necessary identifiers. Acceptance: - Favorites are retained after a reload. - Favorites are retained after the browser is closed. - Invalid stored data does not crash the application. - Full API data is not stored in localStorage.