Skip to content

allengblack/noteApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

noteApplication

###Application for taking and keeping notes

###This aplication implements a simple note taking application. The functions are:

  • The constructor() that sets the parameter 'author' as the author of the note and saves this as an instance variable and create a notes list/array to store all the notes as an instance property.
  • create(note_content) - This function takes the note content as the parameter and creates a new note which it adds to the notes list of the object as a string.
  • listNotes() - This function lists out each of the notes in the notes list for the note author.
  • getNoteByID(note_id) - This function takes a note_id which refers to the index of the note in the notes list and returns the content of that note as a string.
  • search(search_text) - This function take a search string, search_text and returns all the notes with that text within it in the following format
  • deleteNoteByID(note_id) - This function deletes the note at the index note_id of the notes list.
  • edit(note_id, new_content) - This function replaces the content in the note at note_id with new_content.

About

Application for taking and keeping notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published