🌍 Public
Viewing a saved revision (read-only)
2098d373f3ca40909db164710c9d1237
Menu com React
This example demonstrates a simple interactive dropdown menu for selecting a pet. The interface displays a label and a dropdown list containing six animal options, with the initial value set to "hamster." As the user changes the selection, the current value is logged to the console. Built with React, the application uses the `useState` hook to manage the selected value and a custom `Dropdown` component to render the HTML select element, leveraging React DOM for rendering.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.