JavaScript coming in handy.


This is a good example of how you can use JavaScript to repeat certain procedures many times, without having to write the same line over and over again. Whenever you need a horizontal rule of any size, you call the function makeLine() with the appropriate argument instead of writing it again.