Porous WO3 films were successfully synthesized by a simple and easy method using polystyrene spheres (PS) as templates The PS array covered F: SnO2 coated glass (FTO) as the substrate was first prepared via electrodeposition method