Skip to content

Commit

Permalink
Update card_display.html
Browse files Browse the repository at this point in the history
  • Loading branch information
engleek authored Nov 19, 2023
1 parent 830239e commit 3470e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _layouts/card_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
const cardsInCategory = data.filter(card => card.category === category);

const categoryDiv = document.createElement('div');
categoryDiv.classList.add('category');
categoryDiv.innerHTML = `<h2>${category}</h2>`;
document.getElementById('cardDisplay').appendChild(categoryDiv);

Expand Down

0 comments on commit 3470e2d

Please sign in to comment.