The Analytical Engine, designed by Charles Babbage in the 1830s, was the first concept of a programmable computer using punched cards. Although it was never completed, it laid the foundation for modern computing.
The ENIAC was developed in 1945, the transistor was invented in 1947, the microprocessor was introduced in 1971, and the World Wide Web was created in 1989.
The third generation of computers (1960s) used integrated circuits, which allowed computers to become smaller, faster, and more reliable than previous generations that used vacuum tubes or transistors.
Colossus was built during WWII for code-breaking and used vacuum tubes. ENIAC, completed in 1945, was designed for general-purpose calculations and also used vacuum tubes. Transistors came later.
Moore's Law predicts that the number of transistors on a microchip doubles about every two years, which has historically led to faster, smaller, and more affordable computers.