- use objects to store and access data
- learn to create methods on objects, and utilize the
this
keyword
You've been contracted by a restaurant to start building out their website. Before you work on any of the styling, you need to organzine your data in JavaScript. In this challenge you will work with different objects, constructors, and arrays of objects to manipulate data.
Using VSCode and Command Line:
- Fork the repo
- Go into canvas and connect your repo to codegrade
- Clone your forked version of the repo
- DO NOT CREATE A BRANCH; you will be pushing your changes to the main/master today
- cd into your repo
- open the terminal in your vs code and type
npm install
- next type
npm run test
in your terminal - Complete your work making regular commits to main/master; your CodeGrade score will update each time you make a push.
Find the file index.js
and complete the tasks for MVP.
Open a second terminal inside of your project by clicking on the split terminal icon
Inside of your second terminal type npm start
You will be running your tests in one terminal and debugging in the other. As you work on your code you should make use of console.log
to check your progress and debug.
There are several stretch goals inside index.js
. You may work on these once you have finished MVP requirements for the day!
Why aren't my results showing up in the console?
Make sure you are invoking your function after defining it in order to view results in the console.
What the Beep is this
in JavaScript?
Please submit your project via codegrade by following these instructions See part 2, submitting an assignment with codegrade