We Do: 20 minute break out rooms of 5 students
Using the array below, write me 3 functions which:
- return the ODD elements of this array
- add a property called id to each element. The value of it will be the index. Return the array
- return the array in reverse order base off of name
const arr = [
{
name: "Seaseme Seed Bun",
img: "https://s7d1.scene7.com/is/image/mcdonalds/big_mac_bun",
},
{
name: "100% Beef Patty",
img: "https://s7d1.scene7.com/is/image/mcdonalds/10_1_patty",
},
{
name: "Shredded Lettuce",
img: "https://s7d1.scene7.com/is/image/mcdonalds/shredded_lettuce",
},
{
name: "Big Mac Sauce",
img: "https://s7d1.scene7.com/is/image/mcdonalds/shredded_lettuce",
},
{
name: "American Cheese",
img: "https://s7d1.scene7.com/is/image/mcdonalds/ingredient_american_cheese_180x180",
},
{
name: "Pickle Slices",
img: "https://s7d1.scene7.com/is/image/mcdonalds/pickles",
},
{
name: "Onions",
img: "https://s7d1.scene7.com/is/image/mcdonalds/reconstituted_onions",
}
]
We Do: Continuation of the Fruit App
We will continue w/ the fruits app. To make sure we are starting off at the same place, we will FORK (not clone) Billie's Fruit App Billie's Fruit App into our github. We will setup our dev environment and get working on Adding Session Based Authorization
We Do: Create another express app from scratch. Using the array above, we will create a full crud app.
We Do: Project 2 sneak peak
Tuesday is project approvals day, so make sure to watch the project announcement video which walks you through everything you need for project approval and the requirements for the project.