Skip to content

Instantly share code, notes, and snippets.

View the-pun-slayer's full-sized avatar

the-pun-slayer

View GitHub Profile
https://Traffic-lights-drill--puneetmandil.repl.co
https://Error-alert-drill--puneetmandil.repl.co
function computeArea(width, height) {
return width * height;
}
function celsToFahr(celsTemp) {
return celsTemp * 1.8 + 32;
}
function isDivisible(dividend, divisor) {
return dividend % divisor === 0;
function wisePerson(wiseType, whatToSay) {
return `A wise ${wiseType} once said: "${whatToSay}."`;
}
function shouter(whatToShout) {
return `${whatToShout.toUpperCase()}!!!`;
}
function textNormalizer(text) {
return text.toLowerCase().trim();