HTML Code:
<html>
<body>
<h2>Demo of Local Storage: My to do list  </h2>
<ul>
<li id="edit"  contenteditable="true"> </li >
</u>

// This part should store what's written.
<script> // This Script needs works
if(typeof(Storage)!=="undefined")
 {  localStorage.edit=getElementById("edit");
$edit.blur(function(
localStorage.setItem( 'toDoData' , this.innerHTML));
if
 document.getElementById("edit").innerHTML=("Test of : " + localStorage.Edit);
) }
</script>

</body>
</html>