larissaboard.bsky.social/fortune-cookie
Anime-style fortune cookie landing page. Tap the cookie, get a fortune.
0
1
# Fortune Cookie-chan 🥠
A clean, anime-style landing page with a clickable fortune cookie. Tap the cookie and it cracks open with a fortune: car maintenance tips, deep life advice, or complete nonsense.
Each fortune has its own cookie color, break animation (spin, jelly, zoom, glitch, float, flip) and emoji burst.
## Run it
Open `index.html` in any browser. No build step.
## Add fortunes
Append an object to the `FORTUNES` array in `index.html`:
```js
{ cat: "silly", text: "Your fortune here.", color: "#ffe066", dark: "#cfa600", fx: "spin" }
```
- `cat`: `car`, `deep`, `silly`, `heart` or `life`
- `color` / `dark`: cookie fill and outline
- `fx`: `spin`, `jelly`, `zoom`, `glitch`, `float` or `flip`