I can figure out what is wrong with this simple sketch

didn't set pinMode function