karen_constantine

Untitled

Apr 12th, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function openModal() {
  2. resetGame(); // Сбрасываем игру
  3. document.getElementById('gameModal').style.visibility = 'visible'; // Открываем модальное окно
  4. }
  5.  
  6. function closeModal() {
  7. document.getElementById('gameModal').style.visibility = 'hidden'; // Закрываем модальное окно
  8. }
  9.  
Advertisement
Add Comment
Please, Sign In to add comment