Question: Please answer Task 1 and Task 2 as seperate parts and in javascript. Edit the script where indicated in 'tma03.js' to store each text entry

 Please answer Task 1 and Task 2 as seperate parts andin javascript. Edit the script where indicated in 'tma03.js' to store each

Please answer Task 1 and Task 2 as seperate parts and in javascript.

Edit the script where indicated in 'tma03.js' to store each text entry in local storage when it is edited. (8 marks) The demonstration application allows users to add text entries to the page, but they are not saved. The prototype application should save diary entries as they are typed, so that they reappear when the application is restarted. Add JavaScript code where indicated to achieve the following: - Task 1: make a text item representing the current value of the text area and - store this item in local storage. - Task 2: execute the event listener you completed in Task 1 when the text input changes. In your solution document, provide your amended JavaScript code. Making and testing this change Inspect a text entry in the page to see what HTML elements it is made from. If you have deleted all the diary entries, you may reinstate the demonstration code to create them again. When the 'Add entry' button is clicked, HTML elements including a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!