Mathcha is a nifty generator for inputting and sharing formulas and diagrams. You can export an image of your work like so:

You can also export the LaTeX for reference, though it does not guarantee the accuracy.

This can be a helpful way to learn LaTex as you go.