hi, first of all im assuming you bought the tank home set it up, filled it, heated the water and added the fish??
if so the most likely reason they died is what they call new tank syndrome, meaning that the tank had not gotten into its rythm, you'll hear about cycling a tank and stuff like that.
the most people loose alot more fish before they learn patience and learn about the pets they keep, good on you for finding the site