Tag Archives: javascript

Frontend development

I’ve always worked as “full” web developer, i would do the Frontend, Backend and backoffice implementation of a website, but since February 2014 i started working as a frontend developer at a company called NOS.
Continue reading Frontend development


24 JavaScript Best Practices for Beginners

Trying to find the best practices to improve my own JavaScript, i came across an article in tuts+ called 24 JavaScript Best Practices for Beginners, that i found really helpfull for starters.
Continue reading 24 JavaScript Best Practices for Beginners

Email Verification JavaScript

Just a little code snippet to verify an email in JavaScript.

The function:

<script type="text/javascript">
    var result = emailVerification("insert email here");
    function emailVerification(email){
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        if (!filter.test(email.value)) {
            return false;
        } else {
            return true;

Continue reading Email Verification JavaScript

JavaScript OnLoad Event Plugin

I’ve been developing a plugin called SocialShare, the objective is to create sharing buttons to all the Social Networks, but i don’t want to use any framework to achieve this goal. And, because of that, i’ve encountered a small step back. The window.onload doesn’t really work has i intended. So, i’ve made my own onload event handler.

Continue reading JavaScript OnLoad Event Plugin

Parallax Effect

Parallax Scroll Window Offset

The saga continues.

In this second tutorial, i’ll show how to create the Parallax effect by scrolling the window.

This type of Parallax effect has a small problem, though it is quite simple to implement, if we have a website with many elements under a Parallax effect, it can be a little slow and heavy.

Continue reading Parallax Scroll Window Offset