====== A javascript note taking application.
note_taker.jscontains code for the NotesApplication app
======
- To set up your note app and make yourself the default author, assume "Olawale" would be the author.
let myNoteApp = new NotesApplication("Olawale");- To create a new note, ensure you supply valid note content during invocation.
myNoteApp.create("This is a note entry");- View all saved notes.
myNoteApp.listNotes();- To view a specific note, use the code below supplying the
note_id
myNoteApp.get(1);- Use the code below, supplying
search_term(a string)
myNoteApp.search("hello");- Use the
.delete()method to delete a note. Pass thenote_id(an integer) when calling.
myNoteApp.delete(1);- To modify a note, use the
.edit()method supplying thenote_id(an integer) as well as thenew_content(a string)
myNoteApp. edit(1, "Here is the new note content");