Home > Articles

  • Print
  • + Share This
This chapter is from the book

Exercises

  • arrow1.jpg Add a millisecond field to the large clock. You can use the getMilliseconds function, which works just like getSeconds but returns milliseconds.

  • arrow1.jpg Modify the script to display the time, including milliseconds, twice. Notice whether any time passes between the two time displays when you load the page.

  • + Share This
  • 🔖 Save To Your Account