well
First you need to visit lots of online caresheets (easily found in any search engine) and read The Cornsnake Manual by Kathy Love.
A corns tank should consist of two secure hiding spots appropriately sized for the cornsnake. One in the cool end and one in the hot end.
Yes you need a hotter area. One side of the tank needs to be 82-86 degrees, and the other needs to stay at room temp basically so the corn can cool off if he wants.
You need a water dish, the hides, undertank heating pad for the warm spot, secure- no actually- a VERY secure lid as they are escape artists.
Bmm