markdown guide

You would need to exclude non-CSS object properties to accurately count:

var element = document.createElement("div");
var count = 0;
for (var index in {
  if ( {
  } else {
    console.log(index); // non-CSS object properties

My browser (Chrome) has 439 ;-)


Thanks, i completely overlooked the hasOwnProperty method. Nice catch πŸ‘


Can do instead


know that some properties are only SVG related.

Classic DEV Post from Jan 8

Smart Time Management and Productivity Guide via Weekly Reviews.

As we all know being a competent software developer or engineer means continuously learning throughout your career. It’s great! That makes this profession exciting and allows to escape everyday routine at work. In fact, it’s not a job anymore - it’s a lifestyle πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Sadick profile image
An experienced software engineer who enjoys working on interesting and challenging projects.Open to new opportunities.

Sore eyes? now has dark mode.

Go to the "misc" section of your settings and select night theme ❀️