From 5eace09b7dfd038b9cb738e68779808df6111912 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 18 Feb 2025 15:59:15 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/1.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/JAVASCRIPT/1.js b/JAVASCRIPT/1.js index 7f41ea4..cdaa25f 100644 --- a/JAVASCRIPT/1.js +++ b/JAVASCRIPT/1.js @@ -44,16 +44,14 @@ images[currentIndex].classList.add('visible'); /*GET TIME*/ async function getCurrentYear() { - return new Date().getFullYear(); // Tarayıcıdan direkt yılı al + return new Date().getFullYear(); } getCurrentYear().then(year => { const text1 = `an ${year - 2006} years old`; const text2 = `I am ${text1} university student studying Computer Engineering. Since 2020, I have mostly improved myself in back-end departments, particularly in Robotic Coding, Mobile Application Development, 2D/3D Game Development, Website Creation, Cyber Security, and AI Prompt Engineering. I have also participated in Teknofest Competitions and TUBITAK projects. Right now, I am working on projects related to AI and IoT. I am passionate about creating innovative solutions that can positively impact people’s lives and contribute to society, and I am always open to exploring new ideas that serve humanity.`; - console.log(text2); - - /* SCROLL REVEALING */ +/* SCROLL REVEALING */ document.addEventListener('DOMContentLoaded', () => { const textContainer = document.getElementById('animatedTextContainer');