3 Typical Ways to Store Data Using JavaScriptd
April 12, 2022
7:17 PM
<script>
// Set Item
localStorage.setItem("lastname", "Smith");
// Retrieve
document.getElementById("demo").innerHTML = localStorage.getItem("lastname");
</script>
[link]