From a24354bcf98f3e9596d361022c32868d2bbfcfbd Mon Sep 17 00:00:00 2001 From: Klemek Date: Fri, 21 Feb 2025 20:07:03 +0100 Subject: [PATCH] confettis --- index.html | 1 + main.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/index.html b/index.html index caabbd6..63587d6 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,7 @@ rel="stylesheet" type="text/css" /> + diff --git a/main.js b/main.js index 9389a0b..2806bb2 100644 --- a/main.js +++ b/main.js @@ -195,6 +195,12 @@ let app = { this.selected = this.getSelected(); this.timeoutId = setTimeout(() => { this.showSelected = true; + confetti({ + particleCount: 400, + startVelocity: 100, + spread: 100, + origin: { y: 0.9 }, + }); }, 5000); }, getSelected() {