Look at the plug-does it have 2 different sized blades? If so, the wire attached to the big blade goes to the silver and the other to the gold. If they are both the same size, look at the cord. If the cord set is smooth on both sides, it doesn't make any difference what is connected to what. If the cord set has 1 smooth side and one side with lines or grooves, the grooved side goes to the silver and the other to the gold. Make sure it is unplugged before connecting the wires.

Look at the plug-does it have 2 different sized blades? If so, the wire attached to the big blade goes to the silver and the other to the gold. If they are both the same size, look at the cord. If the cord set is smooth on both sides, it doesn't make any difference what is connected to what. If the cord set has 1 smooth side and one side with lines or grooves, the grooved side goes to the silver and the other to the gold. Make sure it is unplugged before connecting the wires.

One cord is grooved so I hooked that one to the silver screw. I would never have noticed that nor would I have known what to do with it. Worked perfectly. Thank you very much. Maggie

Add your answer here.

Check out some similar questions!

I have a ceiling fixture with 2 bulb sockets. One of the sockets was not working, I assumed that it was old and needed to be replaced. I purchased a new fixture and wired it the same way as the old one, white to white and black to black. I still have the same issue. One socket is not working. ...

I did a search here and found I had addressed this type of light with a built in outlet a couple of times.
Here area couple of links to previous questions:
https://www.askmehelpdesk.com/electrical-lighting/bathroom-vanity-light-electrical-socket-165231.html
...

I just installed a new socket on my lamp. I previously had a three-way that got into the condition that it was just a one-turn lamp. It has not been three-way in a long time. So when I purchased this socket I purchased a one-way socket. Now that the socket has been replaced, the light seems odd. I...

The question I am about to ask was asked in 2006 and I read some answers which I found useful but I would still like to ask it again.
I need to replace my bathroom vanity lighting with one that has an electrical outlet since I do not have one in my small bathroom. Do you know a place where I can...