When I run a code on the bottom is showing console that cover 20% of the page. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

When I run a code on the bottom is showing console that cover 20% of the page.

my codes are not full page any more https://code.sololearn.com/Wiv9Z9z3L6Az/?ref=app https://code.sololearn.com/WJly9ZuywWBU/?ref=app

14th Apr 2017, 4:52 PM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
4 Answers
+ 9
@Didi Bug that came with the latest update. Hope, it gets solved in the next. https://www.sololearn.com/discuss/291731/?ref=app
14th Apr 2017, 4:57 PM
Ashwani Kumar
Ashwani Kumar - avatar
+ 9
For now, use <br><br><br> at the end of the code just like I did my Hello World code. https://code.sololearn.com/W9xE6SoiJjyl/?ref=app
15th Apr 2017, 1:31 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 7
@Krishna Teja Yeluripati: More clean practice to set some padding-bottom to the <body> element: body { padding-bottom:10vh; } You should adapt the value to your needs, here set 10% of the viewport height: on my device, about 18vh correspond to the max-height of console plus defaut margin-bottom applied to <body> element...
15th Apr 2017, 3:16 AM
visph
visph - avatar
+ 7
At the end of your code put: <br/><br/><br/><p>This is here because of console covering content.</p> Won't get rid of console but it'll cover something you don't care about.
17th Apr 2017, 7:16 AM
Haris
Haris - avatar