Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<p id="demo">This is an example paragraph.</p>
<button type="button" onclick="myFunction()">Transform text</button>
<script>
function myFunction() {
  document.getElementById("demo").style.textTransform = "uppercase";
}
</script>
</body>
</html>