“Your internal prime time is the time of day, according to your body clock, when you are the most alert and productive.”
Learning JS is NOT about learning (memorizing) JS, it’s about learning a tool in order to solve problems.
Keep your goals and resolutions to yourself. There will be no comments from others. And there will also be no distractions. That gives you more time and energy to focus on your actions.