Light Theme

Coding Exercise : Nested Divs

Jan 18, 2015  

In another coding interview, I had this exercise that caught my attention. The objective is to fix this buggy code :

function appendChildren(){
    var divs = document.getElementsByTagName("div");
    for(var i = 0; i < divs.length; i+=)
    {
        var newDiv = document.createElement("div");
        decorateDiv(newDiv);
        divs[i].appendChild(newDiv);
    }
}
// Mock of decorateDiv for testing purposes
function decorateDiv(div){}

When the code is fixed ...

Bootstrap Pager

Jan 18, 2015  

During a refactor of bootstrap-wizard, I realized that the steps pagination could be made generic, so I implemented a new library, called bootstrap-pager. It has become the base object of boostrap wizard now. I also revamped both pages and git repo, check them out !

Bootstrap Wizard

May 02, 2014  

I've been working on a bootstrap framework plugin that creates a wizard control and I think it's ready for primetime (there are still things to work but I think it's decent enough). I've made a website which explains how it works and links to get it : bootstrap-wizard.com

HackerRank

Feb 24, 2014  

In a recent job interview I was asked to do a small coding challenge. When I received the email with the instructions I got a link to this page. It is hosted on HackerRank, a web app that hosts code challenges and competitions. I think it's pretty good and I want to check out some more whenever I have ...