We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c62af2 + abcafdd commit 4c6b829Copy full SHA for 4c6b829
docs/2-browser-apps/03-class/index.mdx
@@ -394,8 +394,9 @@ document.write(false.toString()); // false
394
395
21時25分40秒に実行されたとき、
396
397
-````
398
-
+```
+今日は残り2時間34分20秒です。
399
400
401
と表示する
402
@@ -415,7 +416,7 @@ const remainingHours = 23 - now.getHours();
415
416
const remainingMinutes = 59 - now.getMinutes();
417
const remainingSeconds = 60 - now.getSeconds();
418
countdownBox.textContent = `今日は残り${remainingHours}時間 ${remainingMinutes}分 ${remainingSeconds}秒です。`;
419
420
421
<ViewSource url={import.meta.url} path="_samples/count-down" />
422
0 commit comments