Looking for a way to adjust the font size of an entire HTML document?
I'd like to have two buttons - one to increase the font size and the other to decrease it. Each button will trigger a JavaScript function;
function increaseFontSize(){
//Increase the font size of the entire document
}
function decreaseFontSize(){
//Decrease the font size of the entire document
}
Inquiry
How can I achieve this? Is there a simpler method than the one mentioned above?
Update:
Currently using Bootstrap, which has its own CSS styles for each HTML element. The default font size set by Bootstrap is 14px.