Perhaps this drawing, including a plug and socket diagram, will help you more safely wire up the relay and learn as you go.
Typically, remember, that the power cord has three wires. Line (hot) is usually black but sometimes red, orange or blue. Neutral is usually white but I have seen grey and on rare occasion brown. Ground is usually green, green/yellow, or uninsulated wire
**IF IN DOUBT DO AN OHM METER CONTINUITY CHECK BETWEEN THE SPADES AND THE ENDS OF THE WIRES TO VERIFY!!**
I advice you to build your project in an enclosure, making sure all AC wiring and connections are insulated from human touch when energized. If the enclosure is metal, THIS IS WHEN YOU SHOULD USE THE GROUND WIRE. Connect the ground wire to the metal enclosure with a screw and eye-crimp connection. This is for safety to provide a path to ground in case electric power shorts to the metal.