Skip to content

Commit bea609d

Browse files
committed
Code 2 - Class 14 / 2
1 parent f9449ec commit bea609d

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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>Document</title>
7+
</head>
8+
<body>
9+
10+
<script src="js/script.js"></script>
11+
</body>
12+
</html>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// let x = Math.random()
2+
// console.log(x)
3+
4+
// let y = Math.trunc(4.97384729)
5+
// console.log(y)
6+
7+
// let z = Math.floor(9.98)
8+
// console.log(z)
9+
10+
// let a = Math.ceil(8.2)
11+
// console.log(a)
12+
13+
// let b = Math.round(8.7)
14+
// console.log(b)
15+
16+
// let c = Math.max(4, 6, 9, 14, 57, 32);
17+
// console.log(c);
18+
19+
// let e = Math.min(4, 6, 9, 14, 57, 32);
20+
// console.log(e);
21+
22+
// let f = Math.pow(4,6)
23+
// console.log(f)
24+
25+
// let q = Math.sqrt(16)
26+
// console.log(q)
27+
28+
// let randomNumber = Math.floor(Math.random() * 200 + 1);
29+
// console.log(randomNumber);
30+
31+
// setTimeout(() => {
32+
// console.log(0);
33+
// }, 0); // 3
34+
35+
// console.log(1); // 1
36+
37+
// setTimeout(() => {
38+
// console.log(2);
39+
// }, 1000); // 5
40+
41+
// setTimeout(() => {
42+
// console.log(3);
43+
// }, 500); // 4
44+
45+
// console.log(4); // 2
46+
47+

0 commit comments

Comments
 (0)