From 6562d75e13e50044cc98588f3951fd4627493fad Mon Sep 17 00:00:00 2001 From: Shayan Rais Date: Sun, 19 Apr 2026 12:53:59 +0500 Subject: [PATCH] presentation/learning-journey: slide 2 below-fold legend with scrollable chip cloud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chip cloud container expanded from calc(100vh - 420px) to min-height: calc(100vh - 130px) so all 18 chips have full breathing room on the first fold. Legend repositioned below the fold (margin-top: 32px, padding: 28px 0 40px 0, border-top: 2px) — revealed only by scrolling. Scroll affordance added at bottom of cloud container ("scroll for glossary ↓"). window.scrollTo(0,0) added to showSlide() so every slide transition resets to the top, giving slide 2 a clean entry and preventing scroll bleed to adjacent slides. Co-Authored-By: Claude --- presentation/learning-journey/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/presentation/learning-journey/index.html b/presentation/learning-journey/index.html index 5dbdd12..f049e57 100644 --- a/presentation/learning-journey/index.html +++ b/presentation/learning-journey/index.html @@ -156,7 +156,7 @@

Jargon you'll hear

I'll unpack each of these as we go — for now, just let them wash over you.

-
+
@@ -216,10 +216,14 @@ token burn + +
+ scroll for glossary +
-
+

vibe coding — describing what you want in plain English and hoping the AI nails it

@@ -1511,6 +1515,7 @@ This is a TodoApp with a FastAPI backend and React frontend. if (n > totalSlides) currentSlide = totalSlides; if (n < 1) currentSlide = 1; document.querySelector(`[data-slide="${currentSlide}"]`).classList.add('active'); + window.scrollTo(0, 0); document.getElementById('slideCounter').textContent = `${currentSlide} / ${totalSlides}`; document.getElementById('progress').style.width = `${(currentSlide / totalSlides) * 100}%`; document.getElementById('prevBtn').disabled = currentSlide === 1;