Javascript
Different uses of javascript.
var msg = "Welcome! Today we'll be practicing javascript basics.";
console.log(msg);
function adding(x, y) {
return x + y;
}
adding(10,90)
function numbercheck(x){
if (x > 100 ) {
console.log(x + " is greater than 100");
} else {
console.log(x + " is less than or equal to 100");
}
}
numbercheck(99)