In this video, we are looking at Codecademy's free JavaScript Course, Loops Section, "The While Loop", youtube video is "The While Loop Explained with JavaScript, What is A While Loop in JavaScript, Codecademy's JS Course". In this tutorial, we learn that a while loop is best used when you do not know how many times you need your loop to run. We are also taught that loops are best when you do know how many times a loop should run. Understanding how to write a while loop is just as important as knowing how to write a for loop. Understanding the use case of both types of loops is also fundamental. Practice writing different loops with different values. Try and imagine how loops and lists of data may help you create an application. Practice writing while loops and for loops. Master loops in programming and master loops in JavaScript by practicing regularly and giving it your all!