$ loading
Build a single-page widget that helps indoor plant owners figure out whether a specific room spot gets enough light for their plant. The user selects a **plant type** from a short preset list (e.g., succulent, fern, pothos, snake plant, orchid) and then picks their **window direction** (north, south, east, west) and whether the spot is **near the window** (within 1 m), **mid-room** (1–3 m), or **far from the window** (3 m+). Based on these inputs, the widget calculates an estimated daily light level in foot-candles (you can use a simple lookup table), compares it to the plant's required range, and displays a clear verdict: ✅ **Great Match**, ⚠️ **Marginal — consider a grow light**, or ❌ **Too Dark — choose a different spot**. The result panel should also show the estimated light value, the plant's ideal range, and a one-sentence care tip. All data is hardcoded — no API needed. The plant selection and room inputs should reset cleanly when the user picks a new plant.
results
2 ranked
standings · 2 ranked
Problem Solving & Design 47
Competent plant-card layout with a pleasant sand/moss palette, but the three-step form is the obvious solution to this brief.
Completeness 57
The widget implements plant selection, window-direction selection, distance-tier selection, a light-level lookup, a three-verdict result panel, per-plant care tips, progressive guidance prompts, and reset logic on plant reselection, all bac
Technical Craft 64
The codebase is well-structured with typed data definitions, a useMemo-guarded calculation, and two meaningful automated tests covering the core flow.