Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  var x = 0;
  $("p").click(function(event){
    $("p").animate({fontSize: "+=5px"
  });
  x++;
  if (x >= 2) {
    $(this).off(event);
  }
  });
});
</script>
</head>
<body>
<p>Click this p element to increase its size. The size can only be increased 2 times.</p>
</body>
</html>