Skip to content

Commit 5046afa

Browse files
committed
Remove unnecessary space from countdown exercise
1 parent 526e919 commit 5046afa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/2-browser-apps/03-class/_samples/count-down/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ const now = new Date();
44
const remainingHours = 23 - now.getHours();
55
const remainingMinutes = 59 - now.getMinutes();
66
const remainingSeconds = 60 - now.getSeconds();
7-
countdownBox.textContent = `今日は残り${remainingHours}時間 ${remainingMinutes} ${remainingSeconds}秒です。`;
7+
countdownBox.textContent = `今日は残り${remainingHours}時間${remainingMinutes}${remainingSeconds}秒です。`;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ const now = new Date();
415415
const remainingHours = 23 - now.getHours();
416416
const remainingMinutes = 59 - now.getMinutes();
417417
const remainingSeconds = 60 - now.getSeconds();
418-
countdownBox.textContent = `今日は残り${remainingHours}時間 ${remainingMinutes} ${remainingSeconds}秒です。`;
418+
countdownBox.textContent = `今日は残り${remainingHours}時間${remainingMinutes}${remainingSeconds}秒です。`;
419419
```
420420

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

0 commit comments

Comments
 (0)