Week 07 / Data sources · empty states · trustworthy displays
Make the scoreboard.
The idea
A scoreboard depends on a reliable source and a clear definition of “last night.” Document where the data comes from, what time zone it uses, and what the page shows when there are no games or the source is unavailable.
Shape a game record
type Game = {
id: string;
awayTeam: string;
homeTeam: string;
awayScore: number | null;
homeScore: number | null;
};Build it
Work through these steps in your own project. Check them off as you go; your checklist stays in this browser.
How will a visitor know when the data was updated and where it came from?
Notes save in this browser.