Pages without a reload

Your task In the code box, in App, keep the open page's id in state (start with the first page), make each menu button open its page, show that page's title in the <h1>, and give only the open page's button aria-current="page". Then press Run my code.

Getting the editor ready