You can put this solution on YOUR website! I'll do coins, you can follow the same procedure to do dice.
Coins can either be heads (H) or tails (T).
There are or possible outcomes.
HHH
HHT
HTH
HTT
THH
THT
TTH
TTT
For dice there are or possible outcomes.
111
112
113
114
115
116
121
122
123
124
125
126
.
.
.
Continue similarly until you reach:
661
662
663
664
665
666