Console Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Console Problem

So I made a small web app about FizzBuzz, which takes user input and logs the output in console. But repeated use of this returns the next output after the old output. What should be better is that after each time, it clears the console so only the current output is shown in the console. I don't know how to do such thing or if there is any any method for console for this. If anyone knows please let me know how to do this. Thanks alot. https://code.sololearn.com/W1UYjk8nUq02/?ref=app

21st Apr 2018, 1:55 PM
Baldeep Singh
Baldeep Singh - avatar
2 Answers
+ 2
You can't clear the console in Code Playground. It's a shortcoming on SoloLearn. Please request the SL team to fix this ☺
21st Apr 2018, 2:22 PM
Emma
0
Ok but is it actually possible if I am on chrome? if yes then how, without manually clearing the log
21st Apr 2018, 2:24 PM
Baldeep Singh
Baldeep Singh - avatar