javascript – namespacing, public and private data

8 years ago

This is quick code sample of public and private data using javascript. You would create anonymous call back function. Private…

Javascript – Sales Tax Program

8 years ago

function tax (price, percent) { return parseFloat((price*percent/100).toFixed(2)); } var randomItem = 9.85; var salesTax = 7.5; var total = randomItem…

bin/rails doesn’t work on windows

8 years ago

Solution: just type it without bin rails Then you should be fine. Same with every other command your trying to…

How to Benchmark Your Javascript?

8 years ago

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

Returning Functions and Immediate Invocation

8 years ago

// ride and wait time var parkRides = [["birch bumpers", 40], ["dank bumpers", 36], ["trap bumpers", 41], ["wtf bumpers", 43],];…

Reserved Characters in URLs – PHP

9 years ago

These are list of following of reserved characters for links: ! # $ % & ( ) * + ,…

Javascript – Magic 8 Ball Script

9 years ago

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

jQuery – $.each vs $.map jquery

9 years ago

We are going to go over what are the difference between $.each and $.map in jquery. Both are like foreach…

I made my first Game With TeamTreehouse and Unity Engine

9 years ago

I made my first game with the Teamtreehouse course. It's basically a game based on C# and coding. He goes…

Why Sass is Awesome?

9 years ago

Why is sass awesome? It makes css work way easier and faster. You have to have ruby on rails installed…