

Yes. Molotov, the URSS Commissar for Foreign Affairs, did try to engage France and Britain to form a defensive tripartite pact, which the Western powers ignored.
The Soviets didn’t exactly throw themselves at the German’s arms at first. Stalin was very wary of the Nazis, in fact.
But Hitler practically begged Stalin to buddy up with the Nazis, dangling Poland, Finland, etc. as the proverbial carrot in front of them. The Nazi’s insistence paid off.
For those who want to get into web dev instead, JavaScript/TypeScript are one of the best beginner-friendly languages. Python is good too. Happy hacking!