shepardb0y-src / web-module-challenge-objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced CSS and Intro to JavaScript

Objects

Objectives

  • use objects to store and access data
  • learn to create methods on objects, and utilize the this keyword

Introduction

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.

Instructions

Task 1: Set up Project

Using VSCode and Command Line:

  1. Fork the repo
  2. Clone your forked version of the repo
  3. cd into your repo and create a branch with your first and last name
  4. open the terminal in your vs code and type npm install
  5. next type npm run test in your terminal
  6. Complete your work making regular commits, once you have all your tests passing and you are ready to submit your work please see canvas for instructions on how to submit

Task 2: MVP

Find the file index.js and complete the tasks for MVP.

Testing & Debugging

Open a second terminal inside of your project by clicking on the split terminal icon alt text

Inside of your second terminal type npm start alt text

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. alt text

Task 3: Stretch

There are several stretch goals inside index.js. You may work on these once you have finished MVP requirements for the day!

FAQs

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.

Resources

What the Beep is this in JavaScript?

Submission format

Please submit your project via codegrade by following these instructions

About


Languages

Language:JavaScript 100.0%