It is a dropdown menu project which was created using ReactJs. An array of options containing objects is passed to the DropdownMenu component as props, which are added to the UI using the Map method.
Hosted link: Dropdown Menu
Clone the project and run the below command in the terminal to install all required dependencies.
npm install
Run the project using the below command.
npm start
- HTML
- CSS
- JavaScript
- ReactJS
- Hover on the title to expand the menu
- click on the menu item to select it
- handleMouseOver
- hanldeMouseLeave
- handleOptionClick