requestFullscreen
The requestFullscreen API is a web technology that allows a web page to request that the browser enter fullscreen mode. This means the entire browser window will be used to display the web content, with no toolbars, scrollbars, or other browser interface elements visible. This is commonly used for media players, games, and presentations to provide an immersive viewing experience.
To use requestFullscreen, a user typically needs to initiate the action, often by clicking a button or
The requestFullscreen API has support across most modern web browsers, though there may be slight differences