The repair-café page has a label inside a row inside a card:
<article class="card">
<div class="tool-row">
<strong>Needle kit</strong>
<span class="featured-tool">Volunteer pick</span>
</div>
</article>
From .featured-tool, parentElement reaches the row. The row's children[0] is the tool name. closest("article") travels farther up to the card. Use those different routes rather than assuming the immediate parent is the article.
Edit script.js. As in the demo, card.dataset.featured = "yes" sets a data attribute that the supplied CSS uses for a green border. Run after each change: first look for the available label, then the border. Glue brush should stay unchanged. Submit to check the two outcomes.
.featured-tool, use parentElement and its children[0] to append (available) to the tool name in the same row..featured-tool, use closest("article") to set data-featured="yes" on its enclosing repair card, not on the inner row.