35.5k views
25 votes
What are some ways to cut down on repetitive code in your website?​

1 Answer

11 votes

Answer:

using functions or loops

Step-by-step explanation:

Functions allow you to repeat code execution simply by calling the function containing the code that needs to be repeated multiple times.

Loops also allow you to execute the same code repeatedly.

User Abedfar
by
5.5k points