Update 1.js
This commit is contained in:
+2
-1
@@ -51,6 +51,7 @@ getCurrentYear().then(year => {
|
|||||||
const text1 = `an ${year - 2006} years old`;
|
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.`;
|
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.`;
|
||||||
|
|
||||||
|
|
||||||
/* SCROLL REVEALING */
|
/* SCROLL REVEALING */
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const textContainer = document.getElementById('animatedTextContainer');
|
const textContainer = document.getElementById('animatedTextContainer');
|
||||||
@@ -71,6 +72,7 @@ getCurrentYear().then(year => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/* SCROLL EFFECT */
|
/* SCROLL EFFECT */
|
||||||
document.addEventListener('scroll', () => {
|
document.addEventListener('scroll', () => {
|
||||||
const words = document.querySelectorAll('.word');
|
const words = document.querySelectorAll('.word');
|
||||||
@@ -88,7 +90,6 @@ document.addEventListener('scroll', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*LAZY LOADING*/
|
/*LAZY LOADING*/
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
const lazyLoadImages = document.querySelectorAll("img.lazy-load");
|
const lazyLoadImages = document.querySelectorAll("img.lazy-load");
|
||||||
|
|||||||
Reference in New Issue
Block a user