wiring a light fixture with a two hots and two neutrals
Connect all the (colored) hot wires together. Connect all the (white) neutral wires together.
The white neutral wire out of a light fixture must be connected to neutral. The black hot wire out of a light fixture must be connected to hot and a white wire (such as coming from a switch) may not be used for this connection.
It is difficult to shop locally when the locality slaps you with a fine if you are a little slow getting back to your car.