As reported: Opendoor senior full-stack (Seattle, 2026), second React interview. Part 1: debug a rendering issue on a Scrabble board — a CSS margin issue on the
ptag. Part 2: make a network request for the game data, render the Scrabble board, and implement the first two buttons of a demo game page.
You are given a small React app that should show a 15 × 15 Scrabble board. Each cell is a div with the letter (or the premium label such as DW, TL) inside a <p> tag.
function Cell({ cell }) {
return (
<div className={`cell ${cell.premium ?? ""}`}>
<p>{cell.letter ?? cell.premium ?? ""}</p>
</div>
);
}
.board { display: grid; grid-template-columns: repeat(15, 36px); gap: 2px; }
.cell { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
Part 1. The board renders with letters pushed out of their squares, uneven rows and cells taller than 36 px. Find the cause and fix it.
Part 2. Replace the hard-coded board with data from an API, GET /api/game/:id, which returns
{ "id": "g1", "size": 15,
"premiums": { "7,7": "DW", "0,0": "TW", "1,5": "TL" },
"tiles": [ { "row": 7, "col": 7, "letter": "C" }, { "row": 7, "col": 8, "letter": "A" } ] }
Render the board from it, with loading and error states. Then implement the page's first two buttons: New game (requests POST /api/game and shows the new game) and Clear board (removes all placed tiles on screen).
Open Debug lab to work on a practice repo with a bug report like this one in a timed online workspace — as an online assessment or a live AI coding interview — then walk an AI interviewer through your fix.