🌷⏳ Checkpoint
./scripts/zines.js:69682263/523
This commit is contained in:
@ -167,4 +167,12 @@ let p0 = document.createElement("p");
|
||||
p0.innerHTML = total + " artists.";
|
||||
zineCounter.append(p0);
|
||||
|
||||
let formats = zines.map(zine => zine.format);
|
||||
let physical = zines.filter((zine) => zine.format == "physical" || zine.format == "physical/digital").length;
|
||||
let p1 = document.createElement("p");
|
||||
p1.innerHTML = physical + " physical zines.";
|
||||
zineCounter.append(p1);
|
||||
|
||||
let digital = zines.filter((zine) => zine.format == "digital" || zine.format == "physical/digital").length;
|
||||
let p2 = document.createElement("p");
|
||||
p2.innerHTML = digital + " digital zines.";
|
||||
zineCounter.append(p2);
|
||||
Reference in New Issue
Block a user