File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/2-browser-apps/03-class Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ const now = new Date();
44const remainingHours = 23 - now . getHours ( ) ;
55const remainingMinutes = 59 - now . getMinutes ( ) ;
66const remainingSeconds = 60 - now . getSeconds ( ) ;
7- countdownBox . textContent = `今日は残り${ remainingHours } 時間 ${ remainingMinutes } 分 ${ remainingSeconds } 秒です。` ;
7+ countdownBox . textContent = `今日は残り${ remainingHours } 時間${ remainingMinutes } 分${ remainingSeconds } 秒です。` ;
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ const now = new Date();
411411const remainingHours = 23 - now .getHours ();
412412const remainingMinutes = 59 - now .getMinutes ();
413413const remainingSeconds = 60 - now .getSeconds ();
414- countdownBox .textContent = ` 今日は残り${ remainingHours} 時間 ${ remainingMinutes} 分 ${ remainingSeconds} 秒です。` ;
414+ countdownBox .textContent = ` 今日は残り${ remainingHours} 時間${ remainingMinutes} 分${ remainingSeconds} 秒です。` ;
415415```
416416
417417<ViewSource url = { import .meta .url } path = " _samples/count-down" />
You can’t perform that action at this time.
0 commit comments