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 @@ -415,7 +415,7 @@ const now = new Date();
415415const remainingHours = 23 - now .getHours ();
416416const remainingMinutes = 59 - now .getMinutes ();
417417const 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" />
You can’t perform that action at this time.
0 commit comments