+ 2
You can check out the section Conditionals and Loops of the JS course... But looking at your profile it seems you have already done that part. So, what am I missing? Did you not understand it or are you having a specific problem trying to use it?