Skip to content

Todo cli#3

Open
EricLee9208 wants to merge 6 commits intomainfrom
todo_cli
Open

Todo cli#3
EricLee9208 wants to merge 6 commits intomainfrom
todo_cli

Conversation

@EricLee9208
Copy link
Owner

No description provided.

const file = process.argv[2];

//Reading json file if "json" exist in user input and adding the data to todo_list
if (file != undefined && file.includes(".json")) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (file && file.includes(".json"))

if (file != undefined && file.includes(".json")) {
fs.readFile(file, "utf8", (err, data) => {
if (err) {
console.error;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need an argument console.log(err)


function add() {
rl.question("What? \n", (input) => {
if (input != "") {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (!!input)

@CodeCoreTA
Copy link

TODO CLI HOMEWORK 3

SCORESHEET FOR STUDENT Eric

Write an interactive CLI todo list application using Node's readline and fs modules.

GRADING CRITERIA:

Course Value: 5%

Assignment Value: 100%

GRADE:

Total Grade: 100
Score 100 /100
Deductions 00 /20

LATE ASSIGNMENTS WILL BE DEDUCTED 5% OFF PER 24 HOURS, FOR A MAX OF 20% DEDUCTION OVERALL.
YOUR ASSIGNMENT IS CONSIDERED LATE 5 MINUTES AFTER THE DUE DATE AND TIME, UNLESS OTHERWISE DISCUSSED WITH YOUR INSTRUCTOR.



Part 1: Submitted and on Time

Was the assignment complete and on time?

Feature Mark Notes
Complete and submitted on time. All good!
On time, but incomplete.
Complete, but submitted late.
Incomplete and submitted late.
Very late submission
No submission

Part 2: Features

Was everything in assignment attempted?

Feature Mark Notes
Implemented the Menu
Implemented View
Implemented Add/New
Implemented Complete cX and mark completed item
User notified which item was marked with cX
Implemented Delete
User notified which item was deleted
Implemented Quit

Part 3: Stretches

Were Stretches attempted?

Feature Mark Notes
Attempted Stretch 1.
Attempted Stretch 2.


ASSIGNMENT RUBRIC

A+ A A- B+ B B- C+ C-F
90%-100% 85%-89% 80%-84% 76%-79% 72%-75% 68%-71% 64%-67% 0%-63%
Assignment handed in on time and complete. All instructions were followed perfectly. All required features were created and works correctly. All Stretches or Challenges were completed. Styling and design of front end meets requirements, and extra creative effort has been applied to this assignment overall. Assignment handed in on time and complete. All instructions were followed perfectly. All required features were created and works correctly. Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. OR Stretches or Challenges not attempted, but creative effort has been applied to the assignment overall. Assignment handed in on time and complete. All instructions were followed. All required features were created and works correctly or mostly works. No Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. Assignment handed in on time and complete. All instructions were followed. All required features were created or attempted. No Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. Assignment handed in on time, but handed in as incomplete. Most instructions were followed. Most required features were created or attempted. No Stretches or Challenges were attempted. Styling and design of front end meets requirements. Assignment handed in on time, but handed in as incomplete. Instructions were somewhat followed. Most required features were created or attempted. No Stretches or Challenges were attempted. Minimal effort in styling and design of front end. Assignment handed in on time, but handed in as incomplete. Instructions were somewhat followed. Some required features were created or attempted. No Stretches or Challenges were attempted. Minimal effort in styling and design of front end. Minimal or no effort.Incomplete/ missing components/insufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants