Result Size: 300 x 150
x
 
<!DOCTYPE html>
<html>
<body>
<p id="demo">Кликните на кнопку, чтобы изменить макет этого параграфа</p>
<button onclick="myFunction()">Кликни меня!</button>
<script>
function myFunction() {
  var x = document.getElementById("demo");
  x.style.fontSize = "25px";
  x.style.color = "red";
}
</script>
</body>
</html>