Edit It: Apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node
This code shows how to use the :nth-child() selector in CSS to apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node.
See it on StackBlitz