Skip to content

Instantly share code, notes, and snippets.

View dustinddoan's full-sized avatar
🎯
Focusing

Dustin Doan dustinddoan

🎯
Focusing
View GitHub Profile
@dustinddoan
dustinddoan / README-Template.md
Created December 5, 2016 22:26 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

//1. Write a function average that takes two numbers as input (parameters), and returns the average of those numbers.
function average(num1, num2) {
return (num1 + num2) / 2;
}
//2. Write a function greeter that takes a name as an argument and greets that name by returning something along the lines of "Hello, <name>!"
function greeting(name) {
console.log('Hello ' + name + '!');
}