2018年10月11日木曜日

#100DaysOfCode Day51

Day 51 October 11, 2018

Today's Progress:

  • freeCodeCamp's Pomodoro Clock project
    • Created a function to toggle Break/Session
    • Added beep sound to play when the timer reaches 0

Thoughts:
At first, I tried .fastSeek(0) to rewind the audio element, but I had to use .currentTime = 0 instead. Due to browser compatibility?
Now all tests passed! I will start the visual improvement tomorrow.

Link to work:
CodePen
GitHub: sidemt/pomodoro-clock

0 件のコメント:

コメントを投稿