get the average of a array of numbers
this is good if you want to change a form checkbox with the default and show a fancy tick or something else, this will still check the checkbox so will work normally as the form element
here is an example showing a variable defined within a function showing how it becomes a global variable if not defined with var
unshift is the opposite of push where push adds to the end of an array unshift will add to the start of the array.
this is a version of a dom ready or document ready that does not require jquery
you can see what is stored in local storage by typing this into your browser console. localStorage Adding something You can add something to local storage by using the setItem function.
pop is the opposite of push and will remove the last item in an array, it also returns the value so you can assign it to a variable
using a css transform will not effect other elements that surround it, so when you mouse over this div (or press it on your phone/tablet) it should scale to 1.5 times its original size.
just a bootstrap card format with header and footer elements, makes a piece of content neat easily
$dot_location = strpos($my_string,".");
basic usage for the str_replace php function str_replace ( mixed $search , mixed $replace , mixed $subject)