Question: what is the difference between using the 'id' and 'class' attributes?
Answer: Difference between id and class attribute: The only difference between them is that “id” is unique in a page and can only apply to at most one element, while “class” selector can apply to multiple elements.