javascript

javascript Closure IIFE Immediately Invoked Function

Javascript Closure This is an example of how to use iffe closure example to avoid collisions with other global variables…

8 years ago

Javascript – Simple For Loop Examples

These are some examples of simple for loop challenges and exercises I did for fun. // Print 'hello' the string…

8 years ago

How to Setup Babel es2015 Javascript on Windows 8.1?

First create a folder: Then CD into that folder through CMD Then do the follow in command-line npm init npm…

8 years ago

How to Benchmark Your Javascript?

This is a quick tutorial on how to benchmark your javascript with console.time("arg") and console.timeEnd("arg") You would use developer tools…

8 years ago

Javascript – Magic 8 Ball Script

This is a magic 8 ball program written in html and javascript. So it's very lean fast and quick. You…

9 years ago

Building a Calculator With Angular Js

index.html Angular js Simple Calculator Example Code <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example68-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.4/angular.min.js"></script> </head>…

9 years ago

Gulp To Create One Javascript File to Speed Up Your Production Server

First install node.js Type this in commandline npm install gulp npm install gulp-concat --save-dev npm install gulp-uglify --save-dev npm install…

9 years ago

How to create a simple calculator program with javascript

This is a tutorial about how to create a simple calculator program with javascript, css, and html. First create index.html…

9 years ago

Create a Dice with HTML, CSS, and Javascript

We are going to create a html, css, and javascript die with this code. For every block of code create…

9 years ago