Skip to content

Commit 74f7f94

Browse files
feat: add Deri-Kurniawan html & increment function
1 parent 285a873 commit 74f7f94

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Deri-Kurniawan.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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>Deri Kurniawan</title>
7+
</head>
8+
<body>
9+
<h1>Deri Kurniawan</h1>
10+
</body>
11+
</html>

main.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
function isOdd(number) {
2-
return number % 2 !== 0;
2+
return number % 2 !== 0;
33
}
44

5-
console.log(isOdd(7));
5+
console.log(isOdd(7));
6+
7+
function increment(number) {
8+
return number + 1;
9+
}
10+
11+
console.log(increment(7));

0 commit comments

Comments
 (0)