Canvas width and height

When using <canvas>, remember to add width and height attributes to the markup

<canvas width="200" height="300"></canvas>

even if you have defined them in the CSS, otherwise you might see some unexpected code behavior.


My jsFoo talk

So I got the opportunity to talk at jsFoo 2011 organized by HasGeek which also happened to be my first talk since college. Following is my presentation uploaded to SlideShare:

The topic of my talk was ‘Client-side rendering using mustache.js‘ which is the nifty technique we have used in building Touchsites at MobStac.

I had fun at the event listening to other speakers and socializing with the people attending the event. I’m definitely looking forward to similar events.

Feel free to contact me for more information 🙂