Well, the client and server of my simulator are written in JavaScript, mostly, but there's also the usual HTML/CSS/jQuery, Node.js and socket.io in the backend, and a little bit of PHP in some places.
A TCG simulator is a pretty huge undertaking. You might want to practice with making some easier card games. Say, Solitaire - make a Web-based copy of that game that comes with Windows.
Your deck is going to be an array. There are a lot of ways to represent cards. You could number them 1 to 52 and store them as numbers, or you could use strings like "3h" "5d" "Kc".
To put cards wherever you want on the screen, you'll need to use CSS's "position:absolute". Read up on that if you're not familiar with it. You'll probably also want jQuery's "animate()" to animate them and make them fly around as you click on them.
I hope that's enough advice for you to get started. Feel free to ask me if you get stuck. Good luck!