Your first AngularJS Application

AngularJS is hot these times, so hot that all the big companies are searching for (frontend) developers with a good knowledge of AngularJS and testing AngularJS application’s. So I would love to tell you how to build your first (basic) AngularJS Application. You can use it as a base to start, and build something cool(er) … Continue reading Your first AngularJS Application

Let Jasmine loop to array of data to validate (Email Validation JavaScript example)

Writing a lot of Jasmine tests for each email I wanted to test, is a waste of time! You can loop trough an array of all emails. So for each email there will be an test! Find out how I did it! (included Jasmine code and code of my Email Validation JavaScript Module)

JavaScript addEventListener onblur doesn’t work in Firefox, this is the fix!

For a cool project is was building an Email validation script. But Firefox got some weird thing with the “onblur” event. Since I’ve decided to leave jQuery behind, and make more use of (Vanilla) JavaScript, i got this problem that my code wasn’t working. Example 1: Doesn’t work: // HTML Enter your name: <input type=”text” … Continue reading JavaScript addEventListener onblur doesn’t work in Firefox, this is the fix!

How to combine multiple Gulp tasks and add multiple destination locations

For my frontend work i use Gulp a lot, because it is easy to use and super-fast! But in the past i created a lot more tasks that was needed. For example: For concatenate an app.js from multiple .js files and minify them. For that i created these tasks: gulp.task(‘js’, function() { return gulp.src([ ‘src/scripts/polyfills/*.js’, … Continue reading How to combine multiple Gulp tasks and add multiple destination locations