Public
Host the "How You Work" team role quiz with a shareable link
quizteam-roleteamwork
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

How You Work — Team Role Quiz

A shareable Belbin-style team role assessment, hosted on Val Town.

Live quiz: https://how-you-work.val.run/

What it is

Nine short "set" questions, each with three statements rated on a 1–5 scale. The quiz scores all nine Belbin team roles, shows your top roles with strengths and allowable weaknesses, lets you download a PDF of your profile, and offers a shared team board so everyone who enters the same team code shows up on one board with their top roles.

Access

The app is public by default, so anyone with the link can take the quiz. Only a person who matches the team code influences that team's board — the quiz itself is fully client-side and no answers leave the browser unless someone adds themselves to a team board.

How it's built

main.tsx              Hono routes (the HTTP entry)
  /                   serves the quiz (frontend/quiz.html)
  /api/team (GET)     reads a team board by ?code=
  /api/team (POST)    adds/replaces a member, returns the updated board
  /dashboard          leftover artifact uploader from the original template
frontend/
  quiz.html           the entire quiz UI + client-side scoring and rendering
backend/
  team.ts             team board storage in project-scoped SQLite

Team board

After finishing the quiz, a viewer enters a name and a team code. The app stores {code, name, topRoles} in the val's SQLite database. Anyone opening the link and using the same code sees the same board — each member's top role(s), plus which of the nine roles aren't naturally covered yet.

This replaced the original window.storage implementation, which only worked inside Claude Artifacts. Here it's a real shared store that works for anyone with the link.

Remix

Click Remix in the top right of this val to get your own copy, then claim your own subdomain on the online val.