Skip to content

Latest commit

Β 

History

History
144 lines (87 loc) Β· 3.42 KB

File metadata and controls

144 lines (87 loc) Β· 3.42 KB

🎡 Spotify Clone A frontend Spotify clone built with HTML, CSS, and JavaScript that mimics the core functionality and interface of the Spotify music streaming service. Users can browse songs, create playlists, like songs, and control playback β€” all in a responsive and visually appealing UI.

πŸš€ Overview This is a pure frontend application simulating the Spotify experience. It includes key features like user authentication (mock), music playback controls, playlist management, and a personalized music library β€” all powered by vanilla JavaScript and LocalStorage.

πŸ”₯ Features πŸ” User Authentication Sign up, log in, and log out functionality (mock using LocalStorage)

🎧 Music Player Play, pause, skip tracks, volume control, progress bar, shuffle, and repeat modes

πŸ“ Playlists Create and manage custom playlists

❀️ Library Save liked songs and access them from your personal library

πŸ” Search Find songs by title or artist using a responsive search bar

πŸ“± Responsive Design Fully responsive layout for desktop and mobile devices

πŸ•’ Recently Played Track and view your recently played songs

🎡 Visual Feedback Playing animation and UI indicators for active tracks

πŸ›  Technologies Used HTML5

CSS3 (with CSS Variables for easy theming)

JavaScript (Vanilla JS)

LocalStorage (to persist user and app data)

Font Awesome (icons)

Google Fonts (Roboto)

πŸ“š How to Use

  1. Sign Up / Log In Click Sign up or Log in in the top-right corner

Fill in the form details

You'll be logged in automatically after signing up

  1. Browse Music Home page shows recently played and recommended songs

Click on any song to start playback

  1. Search Songs Click the search icon in the header

Type song title or artist name to find tracks

  1. Use Your Library Click the sidebar to access liked songs and playlists

Use the heart icon ❀️ to like any song

  1. Create Playlists Click Create Playlist in the sidebar

Name your playlist and optionally add a description

Add songs from the main interface

  1. Control Playback Use the player at the bottom for play/pause, skip, volume

Shuffle πŸ”€ and repeat πŸ” modes supported

πŸ“‚ Project Structure HTML β€” Layout and structure (index.html)

CSS β€” Styling using variables and responsive design (style.css)

JavaScript β€” Functional logic including:

Authentication

Music playback

Playlist and library handling

Search

LocalStorage integration

🧰 Setup Instructions bash Copy Edit git clone https://github.com/your-username/spotify-clone.git Open index.html in your browser. No installation or dependencies required β€” it's a self-contained frontend project.

🎨 Customization You can easily tailor this project by:

Adding more songs to the allSongs array in JavaScript

Changing the color scheme via :root CSS variables

Enhancing with new features like:

Album or artist views

Cloud sync for user data

Playlist sharing

Backend integration

⚠️ Limitations Frontend-only β€” no real backend or audio streaming

Uses mock data and audio files must be added manually

User data persists only in the current browser via LocalStorage

πŸ“ˆ Future Improvements Support for audio file uploads/streaming

Backend for real user accounts and cross-device sync

Additional Spotify-like features (podcasts, stations, etc.)

More animations and transitions

Enhanced mobile UX

πŸ“Έ Screenshots (Add images or GIFs showing your app in action here)

πŸ“„ License This project is licensed under the MIT License.