Can we get 100 percent of our energy from renewable sources?

Is there enough space for all the wind turbines and solar panels to provide all our energy needs? What happens when the sun doesn’t shine and the wind doesn’t blow? Won’t renewables destabilise the grid and cause blackouts?