Update 1.js

This commit is contained in:
FURK4NGG
2025-02-18 17:46:14 +03:00
committed by GitHub
parent b1542e2b2b
commit 04cfb1c6c1
-3
View File
@@ -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