javaScript  Practice

Tried working through the JavaScript Practice Assignment with confusion
but did what I thought was right.