This is a really good question so I went to look up the answer:
It turns out that the bits of the moon that are facing the sun get up to just over 100 degrees C in temperature! (That’s the temperature at which water boils). However the bits of the moon that don’t face the sun can get down below -200 degrees C! That’s really really cold!
I notice you’ve asked lots of astronomy questions today – is space one of your favourite topics?