Techwondoe interview question

How do you implement local storage in your code base?