From 67d89a141961ee5d56d541a95dbc74b13d4f4d11 Mon Sep 17 00:00:00 2001 From: Tanisha Date: Sun, 7 Sep 2025 13:59:18 +0530 Subject: [PATCH] Enhanced UI and added search functionality to MusicAPI.html --- MusicAPI.html | 95 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 85 insertions(+), 10 deletions(-) diff --git a/MusicAPI.html b/MusicAPI.html index a70ccce..2e083df 100644 --- a/MusicAPI.html +++ b/MusicAPI.html @@ -69,6 +69,9 @@ border-left: 5px solid #6c63ff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); + display: flex; + justify-content: space-between; + align-items: center; } h2 { @@ -90,11 +93,43 @@ .error { color: red; } + + /* Search Box */ + #searchContainer { + max-width: 600px; + margin: 20px auto; + display: flex; + gap: 10px; + } + + #searchInput { + flex: 1; + padding: 10px; + border: 1px solid #ccc; + border-radius: 8px; + font-size: 16px; + } + + #searchBtn, #resetBtn { + padding: 10px 20px; + background-color: #4a4e69; + border: none; + border-radius: 8px; + color: white; + font-weight: 600; + cursor: pointer; + transition: background 0.3s; + } + + #searchBtn:hover, #resetBtn:hover { + background-color: #2f2e41; + }

🎵 Music Tracker

+
@@ -103,25 +138,29 @@

🎵 Music Tracker

+ +
+ + + +
+

🎧 All Songs