diff --git a/alphabetizer-lab.html b/alphabetizer-lab.html
index 1668545..01099e2 100644
--- a/alphabetizer-lab.html
+++ b/alphabetizer-lab.html
@@ -73,7 +73,13 @@
Upload Text File
@@ -213,6 +219,15 @@ Upload Text File
resultsSection.style.display = 'block';
resultsSection.scrollIntoView({ behavior: 'smooth' });
}
+
+// Font size slider
+const fontSizeSlider = document.getElementById('fontSizeSlider');
+const wordDisplay = document.getElementById('wordDisplay');
+if (fontSizeSlider && wordDisplay) {
+ fontSizeSlider.addEventListener('input', (e) => {
+ wordDisplay.style.fontSize = e.target.value + 'px';
+ });
+}