In addition to the advice given by the others, I would suggest to maybe participate in the Advent-of-code (https://adventofcode.com/). It started a few days ago but you should be able to quickly catch up.
You might do it to get back into coding, put it on a resume or just for fun (my reason to do it).
But the community around it (https://www.reddit.com/r/adventofcode/) is really great and it's a lot of fun!
It also provides as a specific daily purpose, in contrast to some random code test online.
Best of luck!