The advice I usually see given is to work on a project you actually care about.
A guy I knew in college was really into rpgs, so he made a tool to store character information. Then he built it out to do dice rolls. And then to make it so other people can see the dice rolls. Sort of like DND beyond, but 10 years earlier.
When I was looking for a job, I built a tool to track my job applications. Not as fun, but it helped me brush up on the whole stack.