A Digital Clock is an Good Project to Learn Concepts like Date() and Intl(Internalization API)
Date() and Intl are inbuilt methods that can be used inside Javascript
Learn more about Date() Object - Date() -MDN
Learn more about Intl API - Intl API
One more Good Sheat to learn about Intl API by Devhints.io
The Above Project looks like this
we can switch from 24-hr format and 12-hr format by clicking on the buttons