Coder Social home page Coder Social logo

singh233 / react-dropdown Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 195 KB

A mini project of drop-down component using react for learning purpose.

Home Page: https://singh233.github.io/React-Dropdown

HTML 6.08% CSS 42.41% JavaScript 51.51%
learning-exercise react reactjs

react-dropdown's Introduction

⬇️React-Dropdown-Component

In this dropdown component user can select one value from a list of options. The list of options is typically displayed in a menu that opens when the user clicks on a dropdown button or hover over it. The selected option is displayed in a box that is separate from the menu. This is implemented using front-end framework (React) and project is created using build tool (Vite).

Demo

https://singh233.github.io/React-Dropdown/ 🚀

Author

Features

  • On hover display list of options
  • On click state of the answer changes
  • Responsive for 📱Mobile, Tablet and 💻Desktops

Run Locally

Clone the project

  git clone https://github.com/Singh233/React-Dropdown.git

Go to the project directory

  cd React-Dropdown

Install packages

  npm install

Run in Development Mode

  npm run dev

Deploying Vite App to GitHub Pages

To deploy this project run (By default the build output will be placed at dist folder)

  npm run build

Add /dist folder into your repo. By running

  git add dist -f

Commit your code

  git commit -m "Adding dist"

Push to repo

  git subtree push --prefix dist origin gh-pages

Screenshots

Screenshot 2023-02-10 at 2 56 59 PM

Screenshot 2023-02-10 at 2 57 08 PM

Related

Here are some more Cool Mini Projects

Social-React-App 🚀 ToDo-Web-App 🎯

🚀 About Me

I'm a Aspiring full stack developer... Love to design, create and build cool projects 😎

Feedback

If you have any feedback, please reach out to me at [email protected]

react-dropdown's People

Contributors

singh233 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.