chore: updated copy

This commit is contained in:
Steve
2025-09-30 11:41:10 -04:00
parent 0304ebefc0
commit c59f9b9214

View File

@@ -238,7 +238,7 @@
const scrollContainer = document.getElementById('scrollContainer'); const scrollContainer = document.getElementById('scrollContainer');
const prevBtn = document.getElementById('prevBtn'); const prevBtn = document.getElementById('prevBtn');
const nextBtn = document.getElementById('nextBtn'); const nextBtn = document.getElementById('nextBtn');
const backToStartBtn = document.getElementById('backToStartBtn'); //const backToStartBtn = document.getElementById('backToStartBtn');
let currentSection = 0; let currentSection = 0;
const totalSections = scrollContainer.children.length; const totalSections = scrollContainer.children.length;
@@ -269,9 +269,9 @@
scrollToSection(currentSection + 1); scrollToSection(currentSection + 1);
}); });
backToStartBtn.addEventListener('click', () => { // backToStartBtn.addEventListener('click', () => {
scrollToSection(0); // scrollToSection(0);
}); // });
// Update current section when user manually scrolls // Update current section when user manually scrolls
scrollContainer.addEventListener('scroll', () => { scrollContainer.addEventListener('scroll', () => {