Skip to main content
100%

Fork of React Starter

✓ Published0🌍 Public
BbeauMarko
Last edited Jan 28, 2021
Created on Jan 28, 2021
Forked from React Starter

This example shows a simple pet-selection interface with a dropdown menu. Built using the React framework, the app renders a static list of six pet options—goldfish, dog, cat, hamster, parrot, and spider—with the hamster pre-selected. The code defines a reusable `Dropdown` component and manages its state with React's `useState` hook. The interface uses plain HTML `<select>` and `<option>` elements, styled with large fonts via CSS, and logs the chosen value to the browser console.

AI-generated description
MIT Licensed

Similar vizzes