In this week's Script & Style show, Todd and I welcomed David Neal to discuss Impostor Syndrome, how to conquer it, and why we need to be better to ourselves and others. There was also talk of bacon and DevTools while I tried to ignore a belligerent FedEx delivery man trying to bang down my door. Enjoy!
One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for. We've done well to create elegant APIs around XHR but we know we can do better. Our effort to...
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
When you want to keep an element in the same spot in the viewport no matter where on the page the user is, CSS's fixed-positioning functionality is what you need.
The CSS
Above we set our element 2% from both the top and right hand side of the...