-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfiguras.html
33 lines (31 loc) · 970 Bytes
/
figuras.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!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>Figuras Geométricas | Curso practico de JS en Platzi</title>
</head>
<body>
<header>
<h1>Figuras Geométricas</h1>
<p>Taller practico de JS</p>
</header>
<section>
<h2>Calcula el area de un perimetro de un cuadrado</h2>
<form action="">
<label for="InputCuadrado"
>Escribe cuanto miede cada lado de tu cuadrado:
</label>
<input type="number" id="InputCuadrado" />
<button type="button" onclick="calcularPerimetroCuadrado()">
Calcular Perimetro
</button>
<button type="button" onclick="calcularAreaCuadrado()">
Calcular Area
</button>
</form>
</section>
<script src="./figuras.js"></script>
</body>
</html>