Array wrapping with modulus

Recently came across a requirement that consisted of a list of items to display which is decorated by a smaller list of colours. The colours were to cycle through and wrap at the end of the list — starting over from the beginning. Mini Challenge 01: Changing Background Colors for Certificates Card Story for the… Continue reading Array wrapping with modulus