A Complex Thing: Keyboard Event?

Have you checked the keyCode for keyDown, keyPress, and keyUp events of browsers? The values of them are different. Some of them are ASCII code and some of them are printable key code, what?! We can find the detailed rules here. we can check this to know more about JavaScript keyboard event

It would be nice to have a page to test it. John Hu had created one for this purpose. Since the modern browsers will repeat the keyDown and keyPress, this page prints keyDown and keyPress while you hold the keys.

page: http://jsfiddle.net/huchengtw/Wk7jR/show/

source: http://jsfiddle.net/huchengtw/Wk7jR/

Centered Square Box in CSS

How to create a centered square box only with CSS? Continue reading

How to Add a Web as Application at Windows?

Published on August 11, 2019

Let's Meet at PyCon 2017 Taiwan

Published on May 09, 2017