Etudes/BTS/Web/Premiere annee/operationJS/index.html
2016-10-14 17:52:18 +02:00

33 lines
1.2 KiB
HTML

<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="js/operations.js"></script>
</head>
<body>
<div>
<form name="operations">
<input type="number" name="val1" id="val1" />*
<input type="number" name="val2" id="val2" />
<input type="button" name="egalMulti" value="=" onclick="multiplication()" />
<input type="number" name="resMulti" id="resMulti" />
</form>
</div>
<div>
<form name="operations">
<input type="number" name="val3" id="val3" />+
<input type="number" name="val4" id="val4" />
<input type="button" name="egalAddi" value="=" onclick="addition()" />
<input type="number" name="resAddi" id="resAddi" />
</form>
</div>
</body>
</html>