~/talk

Stop using JavaScript for that - Moving features from JS to CSS and HTML

Talkat Web Summer Camp 2024 · 2024-07-04..07-06· [web-platform, css]
slides:none on file

Shows concrete replacements for common JS patterns: use datalist for autosuggest, input type=color for system color picker (including eyedropper), and the new input type=checkbox switch or CSS-styled checkbox instead of custom toggle code; enable smooth fragment scroll with scroll-behavior:smooth plus scroll-margin and prefers-reduced-motion; replace sliders with CSS scroll-snap and position:sticky; build accordions with details/summary and modals with dialog.showModal + form method="dialog" and backdrop/top-layer; use container queries, :has(), field-sizing, select-list prototypes, and scroll-driven animations.

AI-written summary · about

  1. 0:00The case for declarative web
  2. 4:31Custom switches and inputs
  3. 13:36Form and input helpers
  4. 15:34Scroll and navigation
  5. 21:27Scroll snap and UI layouts
  6. 25:10Accordions and details
  7. 27:58Dialogs and the top layer
  8. 32:52Modern CSS layout features
  9. 35:37Future web features
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.