How to build a three-card Tarot reading website in HTML & JavaScript
Customize a finished 22 Major Arcana tarot website, review upright and reversed card readings and publish five static files with no server or API key.
KitForAI ·

Open a working 22 Major Arcana tarot website
This guide follows the actual files in the KitForAI Tarot Website Kit. Instead of wiring up a backend or paying per-reading AI API fees, you start with a self-contained HTML, CSS and JavaScript site that draws three non-repeating cards from the 22 Major Arcana.
Unzip the package, open START.html and double-click index.html. Visitors pick one of four reflection topics—Today's rhythm, Work and focus, Relationships or Facing a choice—draw three cards, and turn each card over to read its upright or reversed message.
- All 22 Major Arcana cards are included with distinct upright and reversed keywords and short readings.
- Each three-card draw guarantees no duplicate cards within the spread.
- Topics and drawn cards stay in the browser tab and are not sent to any server.
Customize your brand name and tagline in one file
Open brand-config.js in any code or text editor. Starlight Tarot below is an illustrative brand name. Update siteName, tagline and disclaimer, save the file and reload index.html.
The page also includes a fixed entertainment notice (#entertainment-notice) stating that readings are for entertainment and reflection and are not medical, legal or financial advice. Keep that fixed notice visible when customizing the layout.
window.KITFORAI_BRAND_CONFIG = {
siteName: "Starlight Tarot",
tagline: "Three cards. One quiet question.",
disclaimer: "For entertainment and reflection only. Not medical, legal or financial advice."
};Review card meanings and layout styles
Card names, numerals, accent colors, upright readings and reversed readings live in source.js. Interaction logic—including topic validation, non-repeating card selection, card-flip state and keyboard accessibility—lives in app.js, while visual tokens live in styles.css.
If you edit card copy in source.js, keep both upright and reversed entries concise so the three-card grid stays balanced on mobile screens. Test drawing, flipping cards with both mouse/touch and keyboard (Tab and Enter), and resetting the spread.
Export the five public runtime files
When you are ready to put the site online, run the export command below with Python 3 from the kit folder. It exports only the five public website files (index.html, styles.css, brand-config.js, source.js and app.js) into public-site.
Upload the contents of public-site to your static host. The helper refuses to overwrite a non-empty folder so you do not accidentally mix old exports; use a new folder name such as public-site-v2 for later revisions. Never upload the private setup guides or your purchased ZIP archive.
python3 publish.py --output public-siteCompare single kit and bundle scope before publishing
The Tarot Website Kit costs $19 USD once, or $39 USD together with the Saju Website Kit in the Tarot + Saju Website Bundle (saving $9). Hosting and domains are separate.
Your license covers commercial operation of your finished branded website. Visitor accounts, payment processing for paid readings, live AI generation and template resale or redistribution are not included.