The preview in the chat runs the page on a web server and hands it the libraries it imports. A double-clicked file gets neither. The first red line in the browser console says which one is missing, and each has a fix that takes a minute.
The page an AI wrote works in the chat, and is blank when you open the file
calendar_today
November 6, 2026
domain
dropto-run