This script stores user-entered form data in localStorage
upon form submission, ensuring the data persists even after closing and reopening the browser tab. Upon page load, it retrieves the stored data and pre-fills the corresponding form fields, allowing users to see their previously entered information across sessions.