I want to make my react web app full screen after user go to specific web page (no address bar, no navigation bar, only display the web page). I tried many modules online, but they didn't work. Is there a good solution for this problem?
['https://Stackoverflow.com/questions/46675296', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/8162459/']
You can try to use Javascript Fullscreen API. For example:

```
document.documentElement.webkitRequestFullscreen()

```
This is my approach:

```
  const toggleFullSceen = (): void => {
    if (!document.fullscreenElement) {
      document.documentElement.requestFullscreen();
    } else {
      if (document.exitFullscreen) {
        document.exitFullscreen();
      }
    }
  };

 <button onClick={() => toggleFullSceen()}>
    Toggle full screen mode
 </button>

```