AngularJS Posting Login Form

In Tutorials

In this example, we are going to create a Bootstrap login form and have AngularJS perform an POST on this form to a backend PHP page to see if the username and password is correct. 1. We first...

read more

Using Javascript logical OR operator as an default operator

In Tutorials

The Javascript logical OR operator works like this … If the first operand is truthy (see what is truthy and falsy), it will return the first operand.  Otherwise it will return the second...

read more

Javascript logical AND operator does not necessarily return boolean true false

In Tutorials

If you came from other programming language, you might expect the Javascript boolean operator to return a boolean true or false.  But this is not necessarily the case in Javascript.  It will return...

read more

How to delete array elements in Javascript

In Tutorials

To delete array elements in Javascript, you can either use delete or splice.  The difference is that use of delete leaves “holes” in the array … This removes the “c”...

read more

Javascript not sorting numeric arrays correctly

In Tutorials

Javascript arrays have a sort method, but it does not sort numeric arrays as expected.  For example, this code … sorts them as if they are string, rather than numeric as expected....

read more

Responsive Horizontal Menu with Off-Canvas

In Tutorials

In the last tutorial we created an horizontal menu that became an menu icon in mobile view.   In this tutorial, we continue to have the horizontal menu in wide browsers …. but it becomes an...

read more

Responsive Horizontal Nav Menu with Drop Down using Foundation

In Tutorials

Let’s use the Zurb Foundation framework to create our responsive horizontal navigation menu with drop down sub menus.  The menu will will horizontally laid out in wide browsers … It will...

read more

Off canvas menu using Foundation

In Tutorials

We are going to build an off-canvas menu using Zurb Foundation so that it looks like this … View live demo. 1.  Download Foundation Zurb website.  You are going to need the Complete or...

read more

Hide script from IE8 using conditional comments

In Tutorials

Suppose we have a script tag that we want modern browsers to run, but we don’t want Internet Explorer (IE) 8 or lower to run.  This could be because jQuery 2.0 and AngularJS 1.3 don’t...

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.