+ 1

How to open the app in full screen?

How in Sololearn Run the web application to full screen. Are there any methods to do this? Maybe there is API from Sololearn? Language Javascript.

18th Jul 2018, 6:04 AM
Sergey Nikolaev (mccrush)
Sergey Nikolaev (mccrush) - avatar
2 Respostas
+ 1
I'm wondering, is there a method that opens a web application in Sololearn full screen? How it is implemented, for example, for the browser Google Chrome: function launchFullScreen(element) { if(element.webkitRequestFullScreen) { element.webkitRequestFullScreen(); } }
18th Jul 2018, 9:48 AM
Sergey Nikolaev (mccrush)
Sergey Nikolaev (mccrush) - avatar
0
The name of what you said is "responsive". The webpage adapts to screen measurement. For do it you can use "meta" tag -> https://www.w3schools.com/css/css_rwd_viewport.asp it's difficult adapts a website for all the device, but the result is more bettere than do nothing :) for example, in css file try it: @media screen and (max-width: 800px) { .your_class{ color: red; } } in "your_class" when you open the page on a device that has less than 800px for width, the font color change to red. This principle value for everything, like adjust the measure of div's width, height, background,... Have a nice day and programming :)
18th Jul 2018, 6:21 AM
Yuri Biasi
Yuri Biasi - avatar