This is a group project for week #5 of the Intro to Programming course at Epicodus. It allows a user to create and view flashcards.
- The program contains the following objects and properties:
- Subject - object
- name - property - typeof String ""
- categories - property - typeof ArrayList [] - list of Category objects
- example A
- subject.name = "Computer Programming Syntax"
- subject.categories = ["JavaScript", "Ruby", "C#"]
- example B
- subject.name = "Foreign Languages"
- subject.categories = ["Spanish", "French", "German"]
- example A
- Category - object
- name - property - typeof String ""
- subject - property - typeof Subject object
- example A
- category.name = "JavaScript"
- category.subject = "Computer Programming Syntax"
- example B
- category.name = foreign languages
- category.name = ["English", "Spanish", "French"]
- example A
- Term - object
- name - property - typeof String "" (same as card.name)
- categories - property - typeof ArrayList [] - list of Category objects
- example A
- term.name = "for loop"
- term.categories = ["JavaScript", "Ruby", "C#"]
- example B
- term.name = "thank you"
- term.categories = ["Spanish", "French", "German"]
- example A
- Card - object
- term - property - typeof String "" (assigned at same time as term.name)
- category - property - typeof Category object
- definition - property - typeof String ""
- example A
- card.term = "for loop" (same as term.name)
- card.category = "JavaScript"
- card.definition = "for (var index = 0; index < arrayList.length; i++) {console.log(i);}"
- example B
- card.term = "thank you" (same as term.name)
- card.category = "Spanish"
- card.definition = "gracias"
- example A
- Subject - object
- user chooses a subject - either select a subject from a list of existing subjects or create a new subject
- example A - "Computer Programming Syntax"
- example B - "Foreign Languages"
- user creates a term
- example A - "for loop"
- example B - "thank you"
- a card object is created that has the same name as the term name
- example A - "for loop"
- example B - "thank you"
- user assigns a category to the card - either select a category from a list of existing categories or create a new category - category is assigned to the corresponding subject object
- example A - "JavaScript"
- example B - "Spanish"
- user fills in the definition of the card
- example A - "for (var index = 0; index < arrayList.length; i++) {console.log(i);}"
- example B - "gracias"
- user can select an existing term and add additional cards
- example A -
- existing term - "for loop"
- new category - "C#"
- new definition - for (int a = 10; a < 20; a = a + 1) { Console.WriteLine("value of a: {0}", a);} Console.ReadLine();}
- example B -
- existing term - "thank you"
- new category - "French"
- new definition - "merci"
- example A -
-
clone repository
-
open in text editor
-
open in browser
view on GitHub pages
To suggest changes, submit a pull request in the GitHub repository.
- HTML
- CSS
- jQuery 3.2.1
- Bootstrap 3.3.7
MIT License
Copyright (c) 2018 Sara Hamilton, Stephanie Faber, Bryce Frazier, and David
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.