create forloop codes to practice js