Click the left mouse button on the bolt to pick it up, then click on a matching-colored nut to place it.