Priya’s RSVP board works. Guests can mark the games they’re bringing, vote on what to play first, and trim the list to quick games. The exercises’ tests checked what the page shows after a set of clicks. They couldn’t check whether you can say why it works. Knowing why is what lets you change the board later without breaking it.
In this session, you’ll explain your own board to the mentor, show a card’s state in the Elements panel, and then make a change to the board that you haven’t seen in this course. You’ll come away knowing which parts of your code you can explain with confidence and which ones are worth another look.
Part of the session happens in your browser, so get set up first. Serve Priya’s page from your scratch folder, open DevTools, and keep main.js open in your editor. If you wrote some steps only in the exercises, bring your own files up to date before you start. A few answers rely on objects, such as reading a count with votes[game.id]. If that feels hazy, take a quick look at Records With Objects first.
Clicking the button below opens the mentor in a new conversation. It asks one question at a time: when your handlers run, where the votes live, and what the Elements panel shows after a few clicks.
Answer in your own words, and paste your code when it asks for it. The mentor won’t hand you full solutions. When you’re stuck, it names the idea to revisit and lets you try again. Plan on about ten minutes, plus whatever time the change takes you.