From 2d2d42694245875c2de3d22b30b482438a03c0ba Mon Sep 17 00:00:00 2001 From: swagswip84-maker Date: Sun, 18 Jan 2026 12:43:37 +0530 Subject: [PATCH] Update particle creation and animation settings Increased the number of particles created and adjusted their animation properties. --- script.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index bf3283e..8685c8f 100644 --- a/script.js +++ b/script.js @@ -10,7 +10,7 @@ function createParticles() { const particles = document.getElementById('particles'); const particleEmojis = ['❤️', '💕', '💖', '💗', '🌸', '🌺', '✨', '💫', '🦋']; - for (let i = 0; i < 15; i++) { + for (let i = 0; i < 25; i++) { const particle = document.createElement('div'); particle.className = 'particle'; particle.innerHTML = particleEmojis[Math.floor(Math.random() * particleEmojis.length)]; @@ -244,4 +244,5 @@ photoStyle.textContent = ` } } `; -document.head.appendChild(photoStyle); \ No newline at end of file + +document.head.appendChild(photoStyle);