G

Variabel.html

public
Guest Aug 13, 2024 Never 36
Clone
HTML Variabel.html 23 lines (21 loc) | 548 Bytes
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<meta charset="UTF-8">
5
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6
<title>Belajar Variabel & Konstanta</title>
7
</head>
8
<body>
9
10
<input type="number" id="data1">
11
<br>
12
<br>
13
<input type="number" id="data2">
14
<br>
15
<br>
16
<div id="hasil"></div>
17
<br>
18
<button onclick="getData()" id="btn">Get</button>
19
<button onclick="angkaSatu()" id="angka1">1</button>
20
21
<script src="js/variabel.js"></script>
22
</body>
23
</html>