Question: what is the difference between pseudo elements & pseudo classes in css?
Answer: A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s). A CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element(s).