23 lines
529 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Geometry Calculator</title>
</head>
<body>
<script>
"use strict";
// get the length of side A and B
// calculate the perimeter of the rectangle
// calculate the area of the rectangle
// get the hypotenuse of the right triangle
// pythagorean theorem : c = sqrt(a^2 + b^2)
// display the results to the user
</script>
</body>
</html>