Entries by Génesis

Select elements by dragging a box

You can select elements easily drawing a box with your mouse without using jQuery UI or third party plugins. Just handle 2 mouse events and check if at least one point of each element is within your box area. Notice, that we are using a third event (as guidance) simply to draw the area. In […]

Keyboard events

Use event.code to get a human readable way of knowing which keys are pressed. Use event.key if you want to distinguish between capital letter or not, and avoid browser shortcuts, i.e: Ctrl + P (print)

Short tricks of HTML, CSS and JavaScript

Dear fellas, I’d like to share with you ^^ an article about tricks and basic concepts in HTML, CSS and JS. A list of How Tos for everyday use with easy and declarative approaches. Hope you like it (just with the header image I became a level 20 paladin) Short tricks of HTML, CSS and […]

Developing Time

Inspired by Adventure Time, one of my favoritest series, I’m painting in Inkscape which character corresponds with each coding language, based on personality, color and relationships between them. Princess Bubblegum (CSS), Finn (HTML) and Jake (JavaScript). Hope to release soon more of them ^^ so any nerdy suggestion will be welcome xD