Website update

This commit is contained in:
sageTheDM 2025-01-05 01:12:33 +01:00
parent e18f4f0f5b
commit adc78e0931
6 changed files with 186 additions and 108 deletions

View file

@ -0,0 +1,14 @@
'use strict'
document.addEventListener('DOMContentLoaded', () => {
const bombsSlider = document.getElementById('bombs');
const bombsValue = document.getElementById('bombsValue');
// Update the displayed number of bombs when the slider value changes
bombsSlider.addEventListener('input', () => {
bombsValue.textContent = bombsSlider.value;
});
// Initialize the displayed value on page load
bombsValue.textContent = bombsSlider.value;
});