The store’s site is live, its pages load with their styles, the pickup page has its key, and main only takes changes through a pull request with a green check. Two issues from the start of the week are still open: the deals for the week of December 16 and the deals for Christmas week.
This time, you’ll do the work on your own. You’ll take each deals update from a change to a live page, one from your laptop and one from GitHub’s web editor, and finish with a report that shows the whole setup working. Start with the brief, which says what the two issues need.
Read the Brief
The brief describes the result and gives every change exactly, so read it the way you’d read two issues on a team. How you get there is yours to plan, and the milestones in the next section let you check yourself as you go.
“Add the deals for the week of December 16” goes in from your laptop, on a branch called deals-week-3. In src/data/deals.js, keep the two comment lines at the top and replace everything below them with this:
export const dealWeek = { start: "2026-12-16", end: "2026-12-22" };
export const deals = [
{ item: "Spiral-cut ham", unit: "lb", regular: 399, sale: 299 },
{ item: "Eggnog, 1 quart", unit: "each", regular: 449, sale: 349 },
{ item: "Clementines, 3 lb bag", unit: "each", regular: 599, sale: 449 },
{ item: "Unsalted butter, 1 lb", unit: "each", regular: 549, sale: 429 },
{ item: "Sweet potatoes", unit: "lb", regular: 149, sale: 99 },
{ item: "Green beans", unit: "lb", regular: 249, sale: 179 },
{ item: "Dinner rolls, 12 pack", unit: "each", regular: 499, sale: 399 },
{ item: "Candy canes, 12 pack", unit: "each", regular: 299, sale: 199 },
];
Commit it as Add the deals for the week of December 16, and let its pull request close the issue.
“Add the deals for the week of December 23” goes in on the morning of Wednesday, December 23, while you’re away from your desk, so you make it in GitHub’s web editor. The Christmas week ad has eight deals, among them clementines at $3.99 a bag, down from $4.49 the week before. Replace the same part of src/data/deals.js with this:
export const dealWeek = { start: "2026-12-23", end: "2026-12-29" };
export const deals = [
{ item: "Prime rib roast", unit: "lb", regular: 1499, sale: 1199 },
{ item: "Shrimp ring, 2 lb", unit: "each", regular: 1999, sale: 1499 },
{ item: "Clementines, 3 lb bag", unit: "each", regular: 599, sale: 449, sale: 399 },
{ item: "Sparkling cider, 750 ml", unit: "each", regular: 449, sale: 349 },
{ item: "Brie, 8 oz", unit: "each", regular: 799, sale: 599 },
{ item: "Butter crackers", unit: "each", regular: 399, sale: 299 },
{ item: "Large brown eggs", unit: "dozen", regular: 549, sale: 499 },
{ item: "Unsalted butter, 1 lb", unit: "each", regular: 549, sale: 429 },
];