Question · Vibe coding with Claude Code course · Module 8: Slack clone
Quiz: PDF from the print view
How does Ship's Comms make a PDF of the crew dashboard?
Answer options
- The jspdf library draws a table in the browser
- A Route Handler returns a file of type application/pdf
- It takes a screenshot of the dashboard and saves it as an image
- A button calls window.print(), the print:hidden classes hide the sidebar and the button, and you save the PDF in the print window
You can check the correct answer by solving this task in the CodeWorlds game.