From 268d9a6787ed66cdce8a8b08cf17162692335591 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 7 Dec 2023 09:42:46 -0500 Subject: [PATCH] removing the word download from the hero card button (#159) * removing the word download from the hero card button * Update README.md * Update README.md --- blocks/hero/hero.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/blocks/hero/hero.js b/blocks/hero/hero.js index 30f1b949..1c0619e7 100644 --- a/blocks/hero/hero.js +++ b/blocks/hero/hero.js @@ -80,10 +80,7 @@ function buildCardContent(block) { const name = document.createElement('p'); name.classList.add('name'); name.textContent = text; - const download = document.createElement('p'); - download.classList.add('download'); - download.textContent = 'Download'; - wrapper.append(name, download); + wrapper.append(name); a.replaceChildren(wrapper); });