This site simulates hacker-style typing where any key press outputs code on screen.
<script>
const screen = document.getElementById('screen');
const code = "console.log('Hello Hacker!');\nfunction test() { return true; }\n";
let index = 0;
document.addEventListener('keydown', () => {
if (index < code.length) {
screen.textContent += code[index++];
screen.scrollTop = screen.scrollHeight;
}
});
</script>
Try the real thing at hackertyper.app