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