HTML
<form title="Change the Size of the Text!">
<input type="number">
<input type="button" onclick="changeFontSize(myFontSize + 'px')" value="Give it in!">
</form>
JS
function changeFontSize(FontSize) {
document.body.style.fontSize = FontSize;
}
Okay so basically I want to change the text size of the entire Web Page by giving an value to the input field and this number thats been send will be the new font size of the page.. Ive experiented with this and thats the best that i could come up with. Any help will be very appreciated!