generated from nhcarrigan/template
This commit is contained in:
parent
b9478fe13f
commit
76749ba6b8
@ -12,6 +12,7 @@
|
|||||||
<h1>Naomi's Music Library</h1>
|
<h1>Naomi's Music Library</h1>
|
||||||
<section>
|
<section>
|
||||||
<p>An interactive explorer for the music Naomi listens to.</p>
|
<p>An interactive explorer for the music Naomi listens to.</p>
|
||||||
|
<p id="count">Loading library...</p>
|
||||||
</section>
|
</section>
|
||||||
<div style="display: none;">
|
<div style="display: none;">
|
||||||
<span>Search Artists: </span>
|
<span>Search Artists: </span>
|
||||||
@ -44,6 +45,7 @@
|
|||||||
songList.push(...songs);
|
songList.push(...songs);
|
||||||
artistQuery.parentElement.style.display = "block";
|
artistQuery.parentElement.style.display = "block";
|
||||||
titleQuery.parentElement.style.display = "block";
|
titleQuery.parentElement.style.display = "block";
|
||||||
|
document.getElementById('count').innerText = `Naomi currently has ${songs.length} songs.`;
|
||||||
updateTable(songs);
|
updateTable(songs);
|
||||||
}
|
}
|
||||||
const updateTable = (songs) => {
|
const updateTable = (songs) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user