title: For loop with user input javascript
body: <p>So basically I have a for loop and I am trying to get it to run x amount of times.  Depending on what the user inputs. The issue I am having is how to get the user input and also make sure that its a number not any other type of input. making them try again if its wrong.</p>