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.
1 parent 3f64922 commit 0a42833Copy full SHA for 0a42833
docs/2-browser-apps/03-class/_samples/count-down/index.html
@@ -2,7 +2,7 @@
2
<html lang="ja">
3
<head>
4
<meta charset="utf-8" />
5
- <title>Title</title>
+ <title>カウントダウン</title>
6
</head>
7
<body>
8
<div id="countdown-box"></div>
docs/2-browser-apps/03-class/index.mdx
@@ -378,7 +378,11 @@ document.write(false.toString()); // false
378
379
21時25分40秒に実行されたとき、"今日は残り2時間 34分 20秒です。" と表示する
380
381
-<Answer title="翌週の同じ時間">
+:::tip
382
+`Date` クラスには、時刻、分、秒などを取得するためのメソッドが定義されています。
383
+:::
384
+
385
+<Answer title="その日の残り時間">
386
387
`Date#getHour`、`Date#getMinutes`、`Date#getSeconds` を使います。
388
0 commit comments