🌍 Public
Viewing a saved revision (read-only)
225b81cce2b84010b2b27b7cce1846ad
Fork of HTML Starter
This example demonstrates a vertical button list where users can select one of five buttons, causing the chosen button to enlarge and change color while the others shrink and fade. The interface is built using React's `useState` hook to track the selected button index, and ReactDOM renders the `App` component. Styling leverages CSS transitions for smooth scaling and color shifts, with the button container using flexbox to center the selected item and push others outward. The code runs entirely in the browser without external data sources.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.