Giter Club home page Giter Club logo

music-app-usestate-exercise's Introduction

Music Favorites App Welcome to the Music Favorites App! This project was created as an exercise to deepen understanding of the useState hook in React. The app displays a list of dummy music cards on the home page, and allows users to add their favorite songs to a favorites list, which is updated dynamically in both the navbar and the individual music cards.

Features -Display a collection of dummy music cards on the home page. -Each music card contains information about a song, such as the title, artist, and album cover. U-sers can click on the "Add to Favorites" button on any music card to add it to their list of favorite songs. -The favorites list is displayed in the navbar, allowing users to see that how many song is added into the favourites -State management is handled using the useState hook, allowing for dynamic -updates to the favorites list without requiring a page refresh. Installation To run the Music Favorites App locally, follow these steps:

-Clone this repository to your local machine. -Navigate to the project directory in your terminal. -Run npm install to install the project dependencies. -Run npm run dev to start the development server. Open your web browser and navigate to http://localhost:5173 to view the app.

Technologies Used -React.js -useState hook

Usage Upon launching the app, you will be directed to the home page where you can see a collection of dummy music cards. Click on the "Add to Favorites" button on any music card to add it to your favorites list. Your favorites list will be updated dynamically in the navbar and on the individual music cards. Enjoy exploring the app and experimenting with the useState hook! Contributing Contributions to the Music Favorites App are welcome! If you have any suggestions for improvements or would like to report a bug, please open an issue or submit a pull request on GitHub.

License This project is licensed under the MIT License - see the LICENSE file for details.

music-app-usestate-exercise's People

Contributors

ayush5718 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.