Tutorials on Web Development, Programming, and Web Design

How to Disable Directory Listing

In Articles

Normally, you should disable directory listing for your site.  If your webhost is listing the files of your directories to your viewers then it is not configured right.  Web server should not list...

read more

Why Regular Expression is So Confusing?

In Articles

The reason why Regular Expression (also known as Regex) is so confusing is because they have symbols that means different things in different context or position.  Of all the programming languages...

read more

What are false and true in Javascript?

In Articles

Falsy in Javascript In Javascript, these are considered falsy … boolean false ” – empty string 0 – number zero NaN – Not a Number undefined null When placed in...

read more

What is “that” in Javascript?

In Articles

You might have seen the use of “that” in Javascript. You may know that “this” points to the object invoker of the function. But what is “that”? Actually,...

read more

What is Javascript Max Number?

In Articles

Javascript has Number.MAX_VALUE which represents the maximum number that Javascript could represent.  This number is 1.7976931348623157e+308 which is what this program outputs… This is a very...

read more

Changing Order Of Operation May Give Wrong Results in Javascript

In Articles

In math, the associative property for addition says that … (x + y) + z == x + ( y + z ) is a true statement.  However, due to round-off errors, Javascript does not always obey this rule. Take...

read more

Infinity in Javascript

In Articles

Javascript has a number type called “Infinity”. If you run “typeof” on Infinity, you get Number… Infinity can be compared to itself and it returns true.   Infinity is...

read more

How to detect NaN in Javascript?

In Articles

The correct way to detect NaN in Javascript is to use the isNaN() function.  NaN is a “number” indicating a mathematical operation that results in “Not a Number”. While the...

read more

What is difference between column and columns class in the Foundation grid syste...

In Articles

There is no difference between the class “column” or “columns” in the Foundation grid system.  As mention in the Zurb Foundation docs, the only difference is grammar. So your...

read more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.