Question · Vibe coding with Claude Code course · Module 13: Twitch clone
Quiz: the window in the corner
The support window opened with showModal() stands in the top left corner of the page. What to fix?
Answer options
- Replace showModal() with show()
- Add the class m-auto to the <dialog>, because Tailwind 4 zeroes margins
- Move the <dialog> to app/layout.tsx
- Add the class fixed to the <body>
You can check the correct answer by solving this task in the CodeWorlds game.