mirror of
https://github.com/FranP-code/Tic-Tac-Toe-Game.git
synced 2025-10-12 23:52:39 +00:00
12 lines
283 B
JavaScript
12 lines
283 B
JavaScript
export default function hidePlayerSelection() {
|
|
|
|
const playerSelection = document.getElementsByClassName('player-selection')[0]
|
|
|
|
playerSelection.classList.add('animate__fadeOutDown')
|
|
|
|
setTimeout(() => {
|
|
|
|
playerSelection.classList.add('hidden')
|
|
|
|
}, 1000)
|
|
} |