From 04cfb1c6c1a3320b5caafeda1e684d78623f9685 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:46:14 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/1.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/JAVASCRIPT/1.js b/JAVASCRIPT/1.js index f81e89a..bd938fc 100644 --- a/JAVASCRIPT/1.js +++ b/JAVASCRIPT/1.js @@ -47,7 +47,6 @@ async function getCurrentYear() { const now = new Date(); const currentYear = now.getFullYear(); const currentMonth = now.getMonth() + 1; - let age = currentYear - 2006; if(currentMonth < 3){age -= 1;} @@ -62,8 +61,6 @@ getCurrentYear().then(age => { /*SCROLL REVEALING*/ document.addEventListener('DOMContentLoaded', () => { const textContainer = document.getElementById('animatedTextContainer'); - - // Eğer container yoksa hata almamak için kontrol et if (!textContainer) return; // Split text into words and wrap each word in a span