Blog: javascript Posts 馃摂

Sharing ideas and code (RSS available)

test

React Boilerplate

July 27, 2016 路 1 min read

Hi all, after the very successful Gulp boilerplate for web designers and Grunt boilerplate for web designers, I鈥檓 very pleased to announce my React boilerplate (it鈥檚 as designers friendly as it can...

test

Avoid CoffeeScript and use ES6!

August 3, 2015 路 1 min read

Those of you that follow my blog might have noticed how fond I am to some of CoffeeScript鈥檚 conveniences. They are excellent, but it鈥檚 time to leave them behind and start using...

test

Gulp boilerplate for web designers

February 17, 2014 路 2 min read

Two weeks ago, I published a Grunt.js boilerplate with common tasks for web designers. This week I鈥檓 trying out the new kid on the block, gulp. Gulp is also a node-based task...

test

Grunt boilerplate for web designers

January 29, 2014 路 1 min read

Hi all, I鈥檓 very happy to announce my first grunt project that will definitely help you if you are a web designer. What I tried to accomplish was to build a grunt...

test

Developer Tools and Console tips

December 16, 2013 路 3 min read

You can save a huge amount of time simply by learning to use the development tools (all modern browsers have them). Below I鈥檓 demonstrating some nice tricks that I鈥檓 sure will help...

test

Get element's tagname using DOM's tagName property

September 3, 2013 路 1 min read

A couple of weeks ago I posted how can you get an element鈥檚 tagname using jQuery鈥檚 .prop() method. A simpler alternative could be the below code: $(el).get(0).tagName.toLowerCase(); // example $("#someElement").get(0).tagName.toLowerCase(); The .get() method (don鈥檛 confuse...

test

jQuery element's tag name

May 22, 2013 路 1 min read

Getting the selected element鈥檚 tag name is very easy in jQuery. Just use the below code. $(el).prop("tagName"); Keep in mind that by default the returned tag鈥檚 name is capitalized so if you want it...

test

jPrefetch jQuery plugin

May 14, 2013 路 1 min read

I just released jPrefetch a nice little jQuery plugin that makes HTML5 prefetching a bit easier. You can very easily use it for your current solution (static website or even CMS), just...

test

Responsive web design and how to be nice to IE

January 15, 2013 路 2 min read

Many people believe that Internet Explorer (especially 7 and 8) cannot render correctly responsive web sites. Well the truth is that IE sucks big time (especially versions previous to 9), although the...

test

The get() method is not working! Well try eq()...

April 2, 2012 路 1 min read

Every now and then, I come across the very same issue, so I decided to write a post about it. Many new JS developers are struggling to find out why the...