KimiEatsCode
9/27/2015 - 6:26 AM

Basic JS and Basic PHP

Basic JS and Basic PHP

Basic JS and Basic PHP

This is just a reminder and example to show people new to code that coding languages are similar. Sometimes new people will belabor over which language to learn first. The answer is to learn one sooner than later, get a start, because it will help you learn other stuff.

A Pen by Sarah McAleer on CodePen.

License.

function add(x,y) {
total = x + y;
return total;
}

document.write ("1 + 16 =" + " " + add(1,16));