Seeking advice on photoresistor led sequence project

Thank you guys for the advice on the code. Things are looking a bit clearer now with the explanations. Cant wait to get working on it!!! XD