Skip to content

Commit 12432c5

Browse files
committed
format
1 parent 97064c8 commit 12432c5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/1-trial-session/10-loop/_samples/answer-while/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<body>
88
<script src="./script.js"></script>
99
</body>
10-
</html>
10+
</html>

docs/1-trial-session/10-loop/_samples/answer-while/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ while (i <= 10) {
44
sum = sum + i;
55
i = i + 1;
66
}
7-
document.write(sum);
7+
document.write(sum);

docs/1-trial-session/10-loop/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ while (i <= 10) {
6464
}
6565
document.write(sum);
6666
```
67+
6768
<ViewSource url={import.meta.url} path="_samples/answer-while" />
6869

6970
</Answer>

0 commit comments

Comments
 (0)