Most online personality quizzes follow the same frustrating pattern: you spend ten minutes answering questions, and right before seeing your results, you hit an email gate or a paywall. Worse, your answers are often logged to a backend database for ad targeting.

When I built 7 Virtues Test, a free 28-question self-reflection quiz modeled on the traditional seven heavenly virtues (chastity, temperance, charity, diligence, patience, kindness, and humility), I wanted the architecture to be calm, transparent, and strictly browser-only.

Here is how three small engineering choices shaped the product.

1. Zero-Backend Scoring in the URL # Fragment

Every question in the quiz uses a 1-to-5 Likert scale, with four statements mapped to each of the seven virtues—two direct-scored and two reverse-scored to reduce acquiescence bias.

Instead of saving responses to a database and issuing a random UUID, all calculations run locally in JavaScript. Once you finish the 28th statement, the seven 0–100 scores are packed directly into the URL # hash fragment.

Why the # fragment instead of query parameters?

  • Browsers never send the # hash to the server on page loads or refreshes.
  • Users get an instant, bookmarkable, shareable result link without creating an account.
  • Zero user answers ever leave the client device.

If you are curious about the normalization formula and reverse-scoring breakdown, I documented how the scoring math works in a companion guide.

2. Interactive Seven-Petal Stained-Glass Rose Window SVG

A simple progress bar feels clinical, and I wanted the interface to match the reflective, classical mood of the seven virtues. So I designed a seven-petal stained-glass rose window in inline SVG.

Each petal corresponds to one virtue and contains four glass panes (one per question). As you answer each statement—either by clicking or pressing keys 1 through 5—the matching pane illuminates with a warm jewel-toned fill and subtle opacity transition. By the 28th question, the entire rose window glows, and the final result view scales each petal radially according to your 0–100 score.

Keeping it pure SVG + CSS transitions kept the bundle tiny, avoided heavy charting libraries, and stayed crisp across retina displays and mobile viewports.

3. Fast Static Delivery Without Tracking Bloat

Because there is no auth flow, database write, or server-side session, the entire app ships as lightweight static pages. First-time visitors can read the prompt, press Begin the Test, and finish in roughly four minutes.

I also wrote companion reference guides explaining the history of the seven heavenly virtues and how each contrasts with its traditional counterpart, giving readers practical reflection prompts after they see their scores.

If you enjoy minimalist web utilities or privacy-first client-side state patterns, give the quiz a try and let me know what you think of the keyboard shortcuts and SVG rose window interaction!