I'm not exactly into this professionally, but just out of curiosity since only VERY recently. Thus I only have the most basic OF basic knowledge.

My current experiment is this; can you program a series of keys, to execute a specific function, and only in the correct order? I'm saying like a game combo (ie: the famous Konami Code easter egg, consisting of '↑', '↑', '↓', '↓', '←', '→', '←', '→', 'B', 'A', and 'Start')

If, say, I use 'onkeydown' to do this, it only registers that one key, not taking into regard any keys pressed earlier or after (or so I believe). If not, I would have to somehow record what came before and... waaaay out of my little fishies league.

Is there a way to do such a thing, hopefully simpler and easier? Please don't expect me to know much, and please no JQuery or another such js library :D usage.

Could you script in the Konami Code as an example? The js char codes for this pattern would be 38 38 40 40 37 39 37 39 66 65 13, replacing the Nintendo 'Start' with 'Enter' key.