Fill an Array with Empty Spaces
Array(num).fill('');
The Fullscreen API allows you to display an element or the entire page in full screen.
async function enterFullscreen() {
await document.documentElement.requestFullscreen();
}
async function exitFullscreen() {
await document.exitFullscreen();
}
NOTE: To use the Fullscreen API too, you need an interaction from the user.