What I did mainly was just read about all the things beginners need to know and also a whole lot of puzzles. Playing some games as well is also very helpful. I probably got to that level after a month, but I wasn't all that dedicated to it at that time.
It took me a little time only because I practised chess watched chess video lesson from YouTube and played otb games on chess club and after a few time I got information about chess.com later so I improved first and then only played online