+ 1
How do I align text in javascript if the words that are being displayed are only being coded in javascript, and nothing else.
3 ответов
+ 2
Dont know exactly but u can create a <p> or any other with js and make the text its children and then align it using js
+ 1
add CSS
body{
text-align: center;
}