I’ll be dedicating the next three months to learning Front-End Engineering. Follow along as I share bits and pieces in “Today I Learned Code”
The D.R.Y. Principle (Don’t Repeat Yourself)
Any time you find yourself typing the same thing, but modifying only one small part, you can probably use a function.