+ 1
Can i change the size of the text in JavaScript?
2 Réponses
+ 4
You can with fontsize() method. In your case use it like this:
document.write(("the square root of " + x + " is " + number).fontsize(10));
But it's better to make a paragraph in HTML and assign a specific size to it.
+ 2
Tim Thuma thanks!