- {/*Insert .map function here!*/}
-
- {/* Example skeleton:
- {yourData.map((item) => (
-
-

-
{ *item.name* }
-
Category: { *item.category* }
+ {/* Insert .map function here! */}
+ {fireTeam.map((team) => (
+
+

+
{team.name}
+
Type: {team.type}
- ))}
- */}
+ ))
+ }
From 44990493b3e4d50dc2a898d4328cac7599824cec Mon Sep 17 00:00:00 2001
From: voidkuma <168865116+voidkuma@users.noreply.github.com>
Date: Thu, 19 Feb 2026 23:11:46 -0800
Subject: [PATCH 2/2] workshop 4 done
---
.../src/app/colorpicker/ColorButton.jsx | 14 ++++----
.../src/app/colorpicker/ColorPicker.jsx | 35 ++++++++++---------
2 files changed, 27 insertions(+), 22 deletions(-)
diff --git a/include-interactive-workshops/include-workshop4-interactive/src/app/colorpicker/ColorButton.jsx b/include-interactive-workshops/include-workshop4-interactive/src/app/colorpicker/ColorButton.jsx
index 9517f8e..6251853 100644
--- a/include-interactive-workshops/include-workshop4-interactive/src/app/colorpicker/ColorButton.jsx
+++ b/include-interactive-workshops/include-workshop4-interactive/src/app/colorpicker/ColorButton.jsx
@@ -3,12 +3,14 @@
import "./ColorButton.scss";
// ✏️ Step 4: Add props here → it should receive { color, onPick } from the parent.
-export default function ColorButton() {
+export default function ColorButton({ color, onPick }) {
return (
- // ✏️ Step 5: Add a