+ 2
Why space is not work?
I want to get output like this c++ code. https://code.sololearn.com/chnzF5E4kE01/?ref=app https://code.sololearn.com/W0qvAO4BmUD7/?ref=app
4 Réponses
+ 3
Use and use a monospace font
+ 3
Don't know.
Might be helpful:
https://stackoverflow.com/questions/33539797/how-to-create-string-with-multiple-spaces-in-javascript#:~:text=To%20add%20real%20spaces%20to,use%20the%20character%20entity.&text=You%20can%20use%20the%20tag%20with%20innerHTML.
+ 2
Mohan 333 For example, the font "Source Code Pro" of Google Fonts
My video tutorial:
https://youtu.be/RELMZnkBtkA
+ 1
Gordon thank you. But what is monospace font? explain