styles added, typos fixed and js added to retrieve data from local storage