Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
chocolate/chocolates.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
72 lines (72 sloc)
2.49 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chocolates = [ | |
{ | |
name: "Plain Milk", | |
image: "../chocs(1)/plain_milk.jpg", // Updated path to account for folder structure | |
calories: 110, | |
description: "smooth milk chocolate", | |
ingredients: "cocoa butter, milk, sugar" | |
}, | |
{ | |
name: "Plain Dark", | |
image: "../chocs(1)/plain_dark.jpg", | |
calories: 100, | |
description: "smooth dark chocolate", | |
ingredients: "cocoa butter, milk, sugar" | |
}, | |
{ | |
name: "Plain Hybrid", | |
image: "../chocs(1)/plain_hybrid.jpg", | |
calories: 105, | |
description: "smooth milk chocolate and dark chocolate side by side", | |
ingredients: "cocoa butter, milk, sugar" | |
}, | |
{ | |
name: "Nut Butter Cup", | |
image: "../chocs(1)/nut_butter_cup.jpg", | |
calories: 130, | |
description: "smooth milk chocolate, peanut butter filling", | |
ingredients: "cocoa butter, milk, sugar" | |
}, | |
{ | |
name: "Bailey's Cup", | |
image: "../chocs(1)/baileys_cup.jpg", | |
calories: 90, | |
description: "smooth milkchocolate with Bailey's Irish Cream filling", | |
ingredients: "cocoa butter, milk, sugar, Bailey's Cream filling" | |
}, | |
{ | |
name: "Rum Barrel", | |
image: "../chocs(1)/rum_barrel.jpg", | |
calories: 110, | |
description: "smooth dark chocolate with rum-coconut filling", | |
ingredients: "cocoa butter, milk, sugar, rum, coconut" | |
}, | |
{ | |
name: "Orange Fondant", | |
image: "../chocs(1)/orange_fondant.jpg", | |
calories: 125, | |
description: "dark chocolate with orange fondant filling", | |
ingredients: "cocoa butter, milk, sugar, orange cream, orange zest" | |
}, | |
{ | |
name: "Cappuccino Cup", | |
image: "../chocs(1)/cappuccino_cup.jpg", | |
calories: 130, | |
description: "dark chocolate with coffee cream filling", | |
ingredients: "cocoa butter, milk, sugar, coffee-vanilla cream, grated coffee beans" | |
}, | |
{ | |
name: "Pistachio Diamond", | |
image: "../chocs(1)/pistachio_diamond.jpg", | |
calories: 140, | |
description: "milk chocolate, almond butter filling, large pistachio", | |
ingredients: "cocoa butter, milk, sugar, nut butter, pistachio" | |
}, | |
{ | |
name: "Toffee Crunch", | |
image: "../chocs(1)/toffee_crunch.jpg", | |
calories: 130, | |
description: "dark chocolate, soft toffee filling, rock salt and peanut brittle", | |
ingredients: "cocoa butter, milk, sugar, toffee, salt, toffee brittle" | |
} | |
]; |