How do I stop procrastinating when I study alone at home?
I've been trying to learn JavaScript on my own for months but I constantly get distracted by my phone and social media. I tell myself I'm going to study for two hours and end up watching TikTok after 20 minutes. What strategies actually work to keep yourself disciplined when nobody's supervising you?