This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const COLORS = { | |
| primary: "#312651", | |
| secondary: "#444262", | |
| tertiary: "#FF7754", | |
| gray: "#83829A", | |
| gray2: "#C1C0C8", | |
| white: "#F3F4F8", | |
| lightWhite: "#FAFAFC", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let today = new Date() | |
| let day = `${today.getDate() < 10 ? '0' : ''} ${today.getDate()}` | |
| // month are counted from 0 | |
| let month = `${(today.getMonth() + 1) < 10 ? '0' : ''} ${today.getMonth()}` | |
| let year = today.getFullYear() | |
| console.log(`Current Date: ${day}/${month}/${year}`); |