Leanred while loops in JavaScript
created if statments using JavaSript