Pokémon Team
@@ -14,36 +18,32 @@ export default function PokemonPage() {.Map Method
Insert Map Function Here!
- {/*Insert .map function here!*/}
-
- {/* Example skeleton:
- {yourData.map((item) => (
-
-
-
+
{ *item.name* }
-Category: { *item.category* }
+ {team.map((team) => ( +
+
+
- ))}
- */}
+ ))
+ }
{team.name}
+Type: {team.type}
.Filter Method
-Insert Filter Function Here!
+Fire Pokemon
- {/*Insert .map function here!*/}
-
- {/* Example skeleton:
- {yourData.map((item) => (
-
-
-
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 { *item.name* }
-Category: { *item.category* }
+ {/* Insert .map function here! */} + {fireTeam.map((team) => ( +
+
+
- ))}
- */}
+ ))
+ }
{team.name}
+Type: {team.type}