MCPcopy
hub / github.com/bradtraversy/vanillawebprojects / updateCurrentText

Function updateCurrentText

memory-cards/script.js:77–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76// Show number of cards
77function updateCurrentText() {
78 currentEl.innerText = `${currentActiveCard + 1}/${cardsEl.length}`;
79}
80
81// Get cards from local storage
82function getCardsData() {

Callers 2

createCardFunction · 0.85
script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected