Priya’s page is finished. Her five games appear as a list built by main.js, Catan stands out as the one long game, and the header reads 5 games, longest 90 minutes. The two exercises checked what the page shows. They couldn’t check whether you can say why it works or whether you can change it when Priya asks for something new.
In this review, you’ll talk your page through with the mentor, RealJS’s AI tutor. You’ll explain how the page reaches the browser and how the script builds it, then make a change you haven’t seen before and check it on the page.
Get Your Page Ready
The mentor reviews the code you wrote, so it needs your real files, not the exercises’ copies. In VS Code, open the js-course folder and start Live Preview on scratch/index.html. In Chrome, click the address bar and check it starts with http:// and ends with /scratch/index.html. Then open the Console with Ctrl+Shift+J, or Cmd+Option+J on macOS. Keep scratch/main.js open in VS Code, because you’ll copy from it.
Before you start, look at the page once more. It should show the five games in the brief’s order, with only Catan in the accent color. The header summary should read 5 games, longest 90 minutes. If a sixth test game is still in your array, remove it so your page matches the questions.