Skip to content

Commit abcafdd

Browse files
committed
なぜかぶっ壊れてたので修正
1 parent 253abf4 commit abcafdd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/2-browser-apps/03-class/index.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,9 @@ document.write(false.toString()); // false
393393

394394
21時25分40秒に実行されたとき、
395395

396-
````
397-
396+
```
397+
今日は残り2時間34分20秒です。
398+
```
398399

399400
と表示する
400401

@@ -414,7 +415,7 @@ const remainingHours = 23 - now.getHours();
414415
const remainingMinutes = 59 - now.getMinutes();
415416
const remainingSeconds = 60 - now.getSeconds();
416417
countdownBox.textContent = `今日は残り${remainingHours}時間 ${remainingMinutes}${remainingSeconds}秒です。`;
417-
````
418+
```
418419

419420
<ViewSource url={import.meta.url} path="_samples/count-down" />
420421

0 commit comments

Comments
 (0)