diff --git a/index.html b/index.html
index 8046f00..10cc434 100644
--- a/index.html
+++ b/index.html
@@ -5,22 +5,32 @@
Note Taker App
+
-
-
-
+
+
+
+
View Notes
+
-
-
-
+ function saveNote() {
+ if (textElement.value === "") {
+ return alert('text is empty!')
+ }
+ const id = getNoteId()
+ let noteObject = getExistingNotes()
+ if (!noteObject) {
+ noteObject = {}
+ }
+ noteObject[id] = textElement.value
+ localStorage.setItem('notes', JSON.stringify(noteObject))
+ alert('Note Saved!')
+ }
+
+