adspace


How can we add and remove data from local storage?

Answer Posted / Manu Kumar Sharma

To add data to local storage, you can use the `localStorage.setItem()` method, and to remove data, you can use the `localStorage.removeItem()` or `localStorage.clear()` method.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the name of the website?

921


What is the current version of edge?

947


What are the new api's provided by the html5 standard? Give a brief description of each.

898


How comfortable are you with writing html entirely by hand?

876


Can you list the new input type attributes in html5?

862


List out the new features of html5?

871


How do I put text on the next line in html?

871


What is the simplest html page?

944