Update 1.js

This commit is contained in:
FURK4NGG
2025-02-18 15:40:55 +03:00
committed by GitHub
parent cae920cf08
commit 1aa83d1f7f
+1 -2
View File
@@ -57,12 +57,11 @@ getCurrentYear().then(year => {
/*SCROLL REVEALING*/ /*SCROLL REVEALING*/
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
const textContainer = document.getElementById('animatedTextContainer'); const textContainer = document.getElementById('animatedTextContainer');
const text = text2;
//const text = "I am an 18-year-old 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."; //const text = "I am an 18-year-old 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.";
// Split text into words and wrap each word in a span // Split text into words and wrap each word in a span
const words = text.split(' ').map(word => { const words = text2.split(' ').map(word => {
const span = document.createElement('span'); const span = document.createElement('span');
span.textContent = word; span.textContent = word;
span.className = 'word'; span.className = 'word';