🌍 Public
Viewing a saved revision (read-only)
3d8b4b39de5d48eb9513bb1b91b3d2e7
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.