Event 04
Alternating stacked program rows pair a featured image panel with copy, sliding in from opposite sides row by row.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About Event 04
Event 04 is an event section in the Event Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 24, 2026.
- events
- program
- panel
- showcase
- alternating
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: aria-label.
- HTML elements used: section, img.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px, 1024px.
- The demo imagery is loaded from Unsplash.
React + TypeScript + Tailwind CSS
3 files: Event04.jsx, Event04.types.ts, Event04.tailwind.css
- Typed data shapes: EventProgramRow.
- Renders without React state or effects.
- ARIA in the markup: aria-label.
- HTML elements used: section, img.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.
- The demo imagery is loaded from Unsplash.