<html>
<head>
    <title>Testseite</title>
   
    <script type="text/javascript">
    function hinweis()
    {  
        alert("Bitte nicht anklicken!","");
    }
    </script>  
</head>

<body onload="alert('Willkommen beim Online-Rechentraining');">

<h1 onclick="hinweis();">Rechentrainer</h1>

<p>Die Summe von 3 und 15 ist: </p>

<script type="text/javascript">
  var operand1 = 3;
  var operand2 = 15;

  summe = operand1 + operand2;

  document.write("<p>");
  document.write(summe);
  document.write("</p>");
</script>

</body>
</html>