scrimba
Extracurricular challenges : The Frontend Developer Career Path
Challenge: Grocery Store JS
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Challenge: Grocery Store JS
AboutCommentsNotes
Challenge: Grocery Store JS
Expand for more info
index.js
run
preview
console
//Assignment - Grocery Store JS
// Write a program that has a shopper object. Include at least one property with each of the following data types as values to the properties:

// String
// Number
// Boolean
// Function (called a "method" when it's inside an object like this. Check out an example for help writing your own)
// In addition, you should add a groceryCart property to your object, which should be an Array of items that can commonly be found in a grocery cart.

// Starter code:

var shopper = {
//... your properties will go here
}
Console
/index.html
-4:27