Files
Learn_Javascript/html/calcHypotenuse.html

24 lines
831 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<p id="p1">
<label id="sideA">Enter side A</label><br>
<input type="text" id="sideAVal"><br>
<label id="sideB">Enter side B</label><br>
<input type="text" id="sideBVal"><br>
<button type="button" id="calcHypotenuseButton">Submit</button>
</p>
<p id="p2">
<label id="hypotenuse">Hypotenuse: 0</label>
</p>
<p id="p3"></p>
<script src="/js/calcHypotenuse.js"></script>
</body>
</html>