Skip to content

Taophycc/Music-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Player

A sleek and simple music player built with HTML, CSS, and vanilla JavaScript. This project demonstrates the use of Web APIs to create a functional and visually appealing music player.

👾 Demo

Link to Live Demo

Music Player Demo

🎵 Features

  • Play, pause, and skip between tracks.
  • Visual feedback for the currently playing song, including album art, title, and artist.
  • A progress bar that shows the current playback time and total duration of the song.
  • Clickable progress bar to seek to a specific point in the song.
  • Responsive design that adapts to different screen sizes.
  • Song data loaded dynamically from a JSON file.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

You will need a modern web browser that supports HTML5, CSS3, and JavaScript (ES6).

Installation

  1. Clone the repo:
    git clone https://github.com/your_username/your_repository.git
  2. Navigate to the project directory:
    cd your_repository
  3. Open index.html in your web browser.

File Structure

.
├── assets
│   ├── img
│   │   ├── Taophyc-1.jpg
│   │   ├── Taophyc-2.jpg
│   │   ├── Taophyc-3.jpg
│   │   └── Taophyc-4.jpg
│   └── favicon.png
├── css
│   └── style.css
├── data
│   └── songs.json
├── js
│   └── script.js
├── music
│   ├── Taophyc-1.mp3
│   ├── Taophyc-2.mp3
│   ├── Taophyc-3.mp3
│   └── Taophyc-4.mp3
├── index.html
├── LICENSE
└── README.md

🛠️ Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)

Web APIs Used

  • HTML5 Audio API: Used for playing and controlling the audio.
  • Fetch API: Used to dynamically load song data from a JSON file.

Credits

👤 Author

Taofeek Kassim

📜 License

Distributed under the MIT License. See LICENSE for more information.

About

A mini music player built with Javascript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published