Separate the Rule from the Screen Design
Scenario
A team writes down three notes for a room-booking feature. Some notes define the decision rule, and some only describe how the screen looks.
Try it yourself
Sort each note into Core Rule or Screen Detail.
Choose a category for every card.
Reveal the explanation
- Decline room booking when freeSeats is 0
Core Rule · This logic decides the answer in any interface or programming language.
- Show the confirmation banner at the top of the screen
Screen Detail · Where a banner appears changes the layout, not the booking decision.
- Require an active student card for evening study rooms
Core Rule · This condition changes whether a booking is accepted or declined.
Keeping the core rule separate from screen layout lets you test the rule with plain inputs and implement it in Python, JavaScript, or Go without rebuilding any UI.
Your turn
From a library checkout note, separate "max 3 borrowed books" and "highlight overdue count in bold text" into rule vs. screen detail.
Common mistake Mixing colors or button labels into the acceptance criteria of a calculation function.
Check your work
The 3-book limit is marked as a core rule; bold text styling is marked as a screen detail.
Quick check
This browser could not save your progress. Changes last until you leave the page.