MCPcopy Index your code
hub / github.com/WebDevSimplified/wordle-clone / shakeTiles

Function shakeTiles

script.js:15445–15456  ·  view source on GitHub ↗
(tiles)

Source from the content-addressed store, hash-verified

15443}
15444
15445function shakeTiles(tiles) {
15446 tiles.forEach(tile => {
15447 tile.classList.add("shake")
15448 tile.addEventListener(
15449 "animationend",
15450 () => {
15451 tile.classList.remove("shake")
15452 },
15453 { once: true }
15454 )
15455 })
15456}
15457
15458function checkWinLose(guess, tiles) {
15459 if (guess === targetWord) {

Callers 1

submitGuessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected