JSFiddle - React, Tailwind, and code Playground

HTML

<p>Instructions on what to paste into the prompt...
<br>(Refresh the page to show the prompt again)</p>

<p>Chrome (version 31+):</p>
<ol>
    <li>Open Elements the Game via one of the following:
        <ul>
            <li><a href="http://elementsthegame.com" target="_blank">Official site for Elements the Game</a></li>
            <li><a href="http://www.kongregate.com/games/zanzarino/elements" target="_blank">Kongregate site for Elements the Game</a></li>
        </ul>
    </li>
    <li>Open: View > Developer > Developer Tools</li>
    <li>Select the Network tab</li>
    <li>Login to Elements (if you alread did this, then click on Your Deck)</li>
    <li>Watch for dev7.php in the left column, single-click on it</li>
    <li>Select the Headers tab and scroll down to Form Data</li>
    <li>In the Form Data section, look for <strong>decka</strong></li>
    <li>Starting from the 'x', copy all the numbers for <strong>decka</strong> and paste into the prompt on this page</li>
</ol>

<p>Firefox (version 25+):</p>
<ol>
    <li>Open Elements the Game via one of the following:
        <ul>
            <li><a href="http://elementsthegame.com" target="_blank">Official site for Elements the Game</a></li>
            <li><a href="http://www.kongregate.com/games/zanzarino/elements" target="_blank">Kongregate site for Elements the Game</a></li>
        </ul>
    </li>
    <li>Open: Tools > Web Developer > Network</li>
    <li>Login to Elements (if you alread did this, then click on Your Deck and then Menu)</li>
    <li>Watch for dev7.php in the left column, single-click on it</li>
    <li>Select the Params tab and scroll down</li>
    <li>In one of the Form Data sections, look for <strong>decka</strong></li>
    <li>Single-click on the numbers to the right of <strong>decka</strong>, copy what is highlighted, and paste into the prompte on this page</li>
</ol>

CSS

textarea {
    width: 100px;
    height: 250px;
    font-family: monospace;
    font-size: 12px;
}

JavaScript

var carddb = (function(){ /*
4sa	6qq
4sj	6r3
4sk	6r4
4sl	6r5
4sm	6r6
4sn	6r7
4so	6r8
4sp	6r9
4sq	6ra
4sr	6rb
4ss	6rc
4st	6rd
4su	6re
4t3	6rj
4t4	6rk
4t5	6rl
4t9	6rp
4tb	6rr
4tc	6rs
4vc	6ts
4vd	6tt
4ve	6tu
4vf	6tv
4vg	6u0
4vh	6u1
4vi	6u2
4vj	6u3
4vk	6u4
4vl	6u5
4vm	6u6
4vn	6u7
4vo	6u8
4vp	6u9
4vq	6ua
500	6ug
50a	6uq
50u	6ve
52g	710
52h	711
52i	712
52j	713
52k	714
52l	715
52m	716
52n	717
52o	718
52p	719
52q	71a
52r	71b
52s	71c
52t	71d
52u	71e
52v	71f
534	71k
53e	71u
542	72i
55k	744
55l	745
55m	746
55n	747
55o	748
55p	749
55q	74a
55r	74b
55s	74c
55t	74d
55u	74e
55v	74f
560	74g
561	74h
562	74i
563	74j
568	74o
56i	752
56s	75c
576	75m
58o	778
58p	779
58q	77a
58r	77b
58s	77c
58t	77d
58u	77e
58v	77f
590	77g
591	77h
592	77i
593	77j
594	77k
595	77l
596	77m
59c	77s
59m	786
5aa	78q
5bs	7ac
5bt	7ad
5bu	7ae
5bv	7af
5c0	7ag
5c1	7ah
5c2	7ai
5c3	7aj
5c4	7ak
5c5	7al
5c6	7am
5c7	7an
5c8	7ao
5c9	7ap
5cg	7b0
5cq	7ba
5de	7bu
5f0	7dg
5f1	7dh
5f2	7di
5f3	7dj
5f4	7dk
5f5	7dl
5f6	7dm
5f7	7dn
5f8	7do
5f9	7dp
5fa	7dq
5fb	7dr
5fc	7ds
5fe	7du
5fk	7e4
5fu	7ee
5gi	7f2
5i4	7gk
5i5	7gl
5i6	7gm
5i7	7gn
5i8	7go
5i9	7gp
5ia	7gq
5ib	7gr
5ic	7gs
5id	7gt
5ie	7gu
5if	7gv
5ig	7h0
5ih	7h1
5ii	7h2
5ij	7h3
5io	7h8
5j2	7hi
5jm	7i6
5l8	7jo
5l9	7jp
5la	7jq
5lb	7jr
5lc	7js
5ld	7jt
5le	7ju
5lf	7jv
5lg	7k0
5lh	7k1
5li	7k2
5lj	7k3
5lk	7k4
5ll	7k5
5lm	7k6
5ls	7kc
5m6	7km
5mq	7la
5oc	7ms
5od	7mt
5oe	7mu
5of	7mv
5og	7n0
5oh	7n1
5oi	7n2
5oj	7n3
5ok	7n4
5ol	7n5
5om	7n6
5on	7n7
5oo	7n8
5op	7n9
5p0	7ng
5pa	7nq
5pu	7oe
5rg	7q0
5rh	7q1
5ri	7q2
5rj	7q3
5rk	7q4
5rl	7q5
5rm	7q6
5rn	7q7
5ro	7q8
5rp	7q9
5rq	7qa
5rr	7qb
5rs	7qc
5rt	7qd
5ru	7qe
5s4	7qk
5se	7qu
5t2	7ri
5uk	7t4
5ul	7t5
5um	7t6
5un	7t7
5uo	7t8
5up	7t9
5uq	7ta
5ur	7tb
5us	7tc
5ut	7td
5uu	7te
5uv	7tf
5v0	7tg
5v1	7th
5v2	7ti
5v8	7to
5vi	7u2
606	7um
61o	808
61p	809
61q	80a
61r	80b
61s	80c
61t	80d
61u	80e
61v	80f
620	80g
621	80h
622	80i
623	80j
624	80k
625	80l 
626	80m
62c	80s
62m	816
63a	81q
*/}).toString().split('\n').slice(1, -1);
function code324(x){
	return...