CSET-105 Week 4

Project: ToDo Manager

JavaScript Objects and Arrays allow us to create much more useful programs by combining related values and being able to work with any number of them. We'll put that into practice by building a text-based to-do list manager.

With simple commands, your program will be able to show a list of things you need to do, add new items, and mark them as completed. Unfortunately, our list will only exist while the program is running and it'll be reset when you quit. We can fix this when we learn more about files or databases.

Setup

  1. Go to the repl.it page for our class and scroll down until you see the Projects section.
  2. Click the project title ToDo Manager and this will create a fork, your very own copy of my starter project.
  3. Click the Run button and see how the code I wrote works. Notice where the console.log() statements are that you should replace with your own code.

Instructions

You need to write the following functions to add features to our program:

Once you have these three functions working, you should add one extra feature of your choice. Maybe that feature is a separate command and function, or maybe it's an addition or modification to the three you already wrote. Some ideas: you could add a date property, you could sort the items differently while listing, etc. Think about how it could be better if you were using it.


Grading

Total: 30 pts