This circuit simulation demonstrates the inverting and non-inverting amplifier circuits. The top circuit is inverting while the bottom is the non-inverting. Feel free to adjust resistor and voltage values to make some custom practice problems.
One important detail to mention is how to adjust the op amp rails. If you click on the op amp then click on the wrench in the bottom left, there are options for a min output and max output. There is no need to adjust the gain portion.