Home » JavaScript (page 10)

JavaScript

Automate your front-end development environment with npm

For JavaScript development, there are more build tools than you know what to do with. The non-verbal utterance category contains the two most popular ones, Grunt, and Gulp. Then you have your food-related tools, like Brunch, Mimosa and Broccoli. You’ve got fancy new hot stuff like fly. Then there’s classic make-like tools like Cake, Jake and ShellJS’s make. Some folks just ...

Read More »

jQuery Textarea Example

The aim of this example is to show you how to use the Textarea with jQuery. The Textarea tag defines a multi-line text input control. A text area can hold an unlimited number of characters, the size of a text area can be specified by the cols and rows attributes, or even better; through CSS’ height and width properties. jQuery ...

Read More »

Angular 2 coming to Java and Python: the first multi-language full stack platform?

Angular 2 is getting near the final release, and the whole community is really excited about the possibilities that it will bring. But the latest announcement a couple of days ago about the likely final release in May included one important quote about the future of Angular: With Angular 2, we’re really attacking it from a ‘platform of capabilities’ standpoint… ...

Read More »

jQuery History Example

The aim of this example is to show you how to use the jQuery for accessing the browser history. Sometimes the web site’s user may want to go back to the previous page or forward to the next page. The following methods can be used for this purpose. back() method for loading the previous URL in the history list. forward() ...

Read More »

External Javascript Example

HTML, CSS and Javascript are the programming power team that have been used together since virtually forever, so it’s only logical to think that they can be included into one another in a multitude of ways. As much as I agree that HTML & CSS have a very special connection, to the point that it’s very difficult to even imagine ...

Read More »

How does Angular 2 Change Detection Really Work ?

The Angular 2 change detection mechanism is much more transparent and easier to reason about than its equivalent in Angular 1. But there are still situations (like when doing performance optimizations) when we really need to know whats going on under hood. So let’s dig deeper into change detection by going over the following topics: (sample code is here): How ...

Read More »

jQuery Lightbox Example

In this example, we’re having a look at a very popular jQuery plugin called Lightbox. Lightbox is originally a small javascript library used to overlay images on top of the current page. It’s a snap to setup and works on all modern browsers. It is one of the easiest solutions when it comes to individual image viewers or even galleries ...

Read More »

Quickstart: Angular2 with TypeScript and Gulp

Angular2 is around the corner. The new version of the framework is much simpler to learn thanks to easier and more concise concepts like component-based architecture, new dependency injection or built-in modularity. In this step-by-step tutorial you will learn how how to get started with Angular2 with TypeScript and Gulp. Source code available on Github. Introduction Angular 1.x is probably ...

Read More »

Javascript Properties Example

Properties are one of the most basic Javascript notions. Basic to the point that they are more often than not overlooked in the language’s literature. However, it’s crucial to know and study them even for those who only want to have even the most elementary knowledge about JS. 1. What are Properties exactly? According to the official definition in the ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook