Back Original

Day 31: performance.now()

Day 31: performance.now()

What I Did

Notes

  • Figured out an issue with my JavaScript timer on Slow Art Online. I was setting the start time to Date.now() when the page was loaded, not when the timer button was clicked. I fixed this by updating the code so that the start time is only assigned when the timer button is clicked. I also switched from using Date.now() to performance.now() which is more precise and should work well for this case.
  • Clear overview of hosting options for different tech stacks: The Differences in Web Hosting (Go with the Happy Path)