4elements, web design and consultancy

  1. Learn Computer Science With JavaScript: Part 3, Loops

    IntroductionSuppose you have been given the task to write a program that displays the numbers 1–100. One way you could accomplish this is to write 100 console.log statements. But I’m sure you wouldn’t because you would have become fed up by the 9th or 10th line.  The only part that changes in each statement is the number, so there should be a way to write only one statement. And…


    Leave a comment › Posted in: Daily