recently I have been learning about loops, a loop is a code that will keep on looping until it is told to stop or as codecademy says it "As illustrated in the diagram, loops iterate or repeat an action until a specific condition is met. When the condition is met, the loop stops and the computer moves on to the next part of the program."
The 'For' loop was the first loop that I was taught a for loop is a loop that will run until it matches the number I choose like in this picture below, in this picture it shows what I coded. The part that says "(Let counter = 6;" that sets counter to six and the second part "counter <= 11;" tells it to keep running until it hits the number 11. The third part "counter++) means to add a number to the console. The fourth part "Console.log(counter);" will tell the program to start the program, which will print out: 6, 7, 8, 9, 10, 11.