Codility

For weeding out developers from fakes, hit up codility.com.

I took the demo test and found it to be a fair challenge. Any developer mid-level and up should have no issues completing the test. They can choose from a variety of languages to complete the task. Hell, their language choice might even be a great topic during an interview.

I have sat through far too many interviews where the candidate had no business even applying – but somehow made it through the phone screens. From now on, CODE MUST BE WRITTEN!

jQuery Font Resizer

First, the CSS:

body, a#medium {
font-size:14px;
}
body.small, a#small{
font-size: 10px;
}
body.large, a#large{
font-size: 18px;
}

Second, the JS:

$(function() {
$("a#large").on("click", function (event) {
$("body").removeClass("small");
$("body").addClass("large");
event.preventDefault();
});

$("a#medium").on("click", function(event) {
$("body").removeClass("small");
$("body").removeClass("large");
event.preventDefault();
});

$("a#small").on("click", function(event) {
$("body").addClass("small");
$("body").removeClass("large");
event.preventDefault();
});
});

Third, the HTML:

<a id="small" href="#">A</a>
<a id="medium" href="#">A</a>
<a id="large" href="#">A</a>

Check it out