0
How can I make the name output font bigger?
var user= prompt("please enter your name") document.write('<h1>hi</h1> '+ user)
3 Answers
+ 2
Use CSS for styles, but if you want to do it only with JS, then you can do something like this:
yourObject.style.fontSize = "150%" ;
0
Thx
0
Hi, personally I prefer to use font Georgia on my site, and I prefer text size 24sp but my site deals with online games, click here to read how it looks like. If I need to change the text size I Open the Python shell. Then, in the menu bar, under "Python" (directly to the right of the Apple icon), you will find "Preferences". Under this, you will find the "Font/Tabs" option, and you can change the font size according to your preference. It helps me to change the text size quickly and easily.