Skip to content

Instantly share code, notes, and snippets.

# W2D2 Checkpoint
// I'M HAVING THE HARDEST TIME WITH LOOPS (FOR, DO, WHILE "ALL OF THE ABOVE") AND INCORPORATING LOOPS INTO THE FUNCTIONS!!!'
Submit a link to your gist [here](https://goo.gl/forms/HywFjkNIU9mLM7c03)
1. Write a function `average` that takes two numbers as input (parameters), and
returns the average of those numbers.
<!DOCTYPE html>
<html>
<head>
<title>Day 2</title>
</head>
<body>
<script type="text/javascript">
/**