This web application provides a simple yet useful interface for searching and discovering songs and viewing their lyrics. The application uses the Genius API to search for songs based on the provided search term and displays the results on the webpage.
IMP- Run this command in command prompt window. (This is to avoid CORS error)
For windows:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir=C:\tmpChromeSession
For Mac ios
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --disable-web-security --user-data-dir=/tmp/ChromeSession
-
Copy the link(github pages deployment) from description and paste it in the new chrome session that just opened.
-
You will see a search form at the top of the page with an input field and a search button.
-
Enter the name of the song you want to search for in the input field.
-
Click the "Search" button or press Enter.
-
The application will make a request to the Genius API and display up to 10 search results on the page.
-
Each search result will include the artist's name and a link to view the lyrics of the song.
-
Click the "Lyrics here" link to open the lyrics of the song in a new tab.
- This application relies on the Fetch API to make requests to the Genius API.
- API Access Token: Developers can replace the API access token in the code to ensure seamless integration with the Genius API.
The Song Lyrics Web App offers a straightforward and efficient way for users to find song information and lyrics quickly. Its minimalistic design and real-time search results make it a user-friendly tool for music enthusiasts. Developers can further enhance and customize the application to meet specific requirements and integrate it with additional features or APIs. Feel free to customize and enhance this web application to meet your specific requirements. Happy song searching!