Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added covers/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,14 @@ <h1>Best of NCS - No Copyright Sounds</h1>
</div>
<div class="songItem">
<img alt="1">
<span class="songName">Let me Love You</span>
<span class="songName">Let</span>
<span class="songlistplay"><span class="timestamp">05:34 <i id="9" class="far songItemPlay fa-play-circle"></i> </span></span>
</div>
<div class="songItem">
<img alt="1">
<span class="songName">Let</span>
<span class="songlistplay"><span class="timestamp">05:34 <i id="10" class="far songItemPlay fa-play-circle"></i> </span></span>
</div>
</div>
</div>
<div class="songBanner"></div>
Expand Down
3 changes: 2 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ let songs = [
{songName: "Bhula Dena - Salam-e-Ishq", filePath: "songs/2.mp3", coverPath: "covers/8.jpg"},
{songName: "Tumhari Kasam - Salam-e-Ishq", filePath: "songs/2.mp3", coverPath: "covers/9.jpg"},
{songName: "Na Jaana - Salam-e-Ishq", filePath: "songs/4.mp3", coverPath: "covers/10.jpg"},
{songName: "Royalty(Don Diable Remix)", filePath: "songs/Egzod & Maestro Chives - Royalty (Don Diablo Remix) [NCS Release].mp3", coverPath: "covers/11.jpg"},
]

songItems.forEach((element, i)=>{
Expand Down Expand Up @@ -78,7 +79,7 @@ Array.from(document.getElementsByClassName('songItemPlay')).forEach((element)=>{
})

document.getElementById('next').addEventListener('click', ()=>{
if(songIndex>=9){
if(songIndex>=10){
songIndex = 0
}
else{
Expand Down
Binary file added songs/11.mp3
Binary file not shown.