JavaScript sample Program
give your element the id = "demo" next to the tag i.e p, h1, div, etc.
< button type = "button"
onclick = "document.getElementById('demo').style.fontSize=
'35px'"> I can change the page!
More about this simple JavaScript program:
https://www.w3schools.com/js/js_examples.asp
Try it out the editor Click me