save a note to localstorage as an Object
This commit is contained in:
+4
-6
@@ -18,18 +18,16 @@
|
||||
</h6>
|
||||
</div>
|
||||
<div id=addNoteDiv>
|
||||
<button type="button" id=addNote>+</button>
|
||||
<button type="button" id=addNoteButton>+</button>
|
||||
</div>
|
||||
|
||||
<div id=noteFormDiv>
|
||||
<form id=noteForm>
|
||||
<input type="text" name="noteTitle" id="input1" placeholder="Enter title...">
|
||||
<input type="text" name="noteTitle" id="inputTitle" placeholder="Enter title...">
|
||||
<div>
|
||||
<textarea name=noteText id=memo placeholder="Enter notes..."></textarea>
|
||||
<textarea name=noteText id=noteText placeholder="Enter notes..."></textarea>
|
||||
</div>
|
||||
<button type="button" id=saveNote>Save</button>
|
||||
<button type="button" id=saveNoteButton>Save</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user