initial commit

This commit is contained in:
2025-08-10 15:28:18 +03:30
commit 23ff7288e9
3 changed files with 153 additions and 0 deletions

17
script.js Normal file
View File

@@ -0,0 +1,17 @@
document.addEventListener('DOMContentLoaded', function() {
const sections = document.querySelectorAll('.scroll-section');
const observer = new IntersectionObserver(entries => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, {
threshold: 0.1
});
sections.forEach(section => {
observer.observe(section);
});
});