This is awesome. Is your code open source? It would be cool to make a textbook for SQL in this format.

Yes, code here: https://github.com/nlothian/llm-sql-benchmark

There is a V2 branch with some minor fixes etc I'm working on.

Can it be run as a static site(github pages) ?

It is completely static - everything is done on the client side.

It's WASM plus client-side React components in a static site.

I'm hosting of Cloudflare Pages (without their serverside function hosting), so yes GH pages will work fine.