Update 1.js

This commit is contained in:
FURK4NGG
2025-02-18 15:59:15 +03:00
committed by GitHub
parent 6af6ac595a
commit 5eace09b7d
+1 -3
View File
@@ -44,15 +44,13 @@ 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 peoples lives and contribute to society, and I am always open to exploring new ideas that serve humanity.`;
console.log(text2);
/* SCROLL REVEALING */
document.addEventListener('DOMContentLoaded', () => {
const textContainer = document.getElementById('animatedTextContainer');