From 02e5650e8913e9673406fc4131ce70f248d51194 Mon Sep 17 00:00:00 2001 From: Anshdeep singh <121263870+anshdeep0504@users.noreply.github.com> Date: Wed, 30 Oct 2024 23:35:10 +0530 Subject: [PATCH] Update index.html --- chaosweb-v@2/index.html | 56 +++++++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 21 deletions(-) diff --git a/chaosweb-v@2/index.html b/chaosweb-v@2/index.html index a7fa78c..e7a4189 100644 --- a/chaosweb-v@2/index.html +++ b/chaosweb-v@2/index.html @@ -7,17 +7,13 @@ ChaosWeb -
- - -
+

Welcome to ChaosWeb

- -
-

Scroll for the Chaos

+ +
+

Embrace the Madness

+
+
@@ -104,7 +119,7 @@

Scroll for the Chaos

} setInterval(randomizeTitle, 300); - // JavaScript for chaotic effects on both text elements + // Chaotic effect on elements const chaosText = document.getElementById('chaosText'); const chaosScrollText = document.getElementById('chaosScrollText'); @@ -119,7 +134,6 @@

Scroll for the Chaos

element.style.marginTop = `${Math.floor(Math.random() * 20) - 10}px`; } - // Apply chaotic effect every 100ms to both elements setInterval(() => { applyExtremeChaosEffect(chaosText); applyExtremeChaosEffect(chaosScrollText);