Skip to content

Commit 97064c8

Browse files
committed
view sourceを追加
1 parent 756c1e1 commit 97064c8

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!doctype html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>確認問題の解答</title>
6+
</head>
7+
<body>
8+
<script src="./script.js"></script>
9+
</body>
10+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
let i = 1;
2+
let sum = 0;
3+
while (i <= 10) {
4+
sum = sum + i;
5+
i = i + 1;
6+
}
7+
document.write(sum);

0 commit comments

Comments
 (0)