What happens if Id and Class are applied to the same and have conflicting?

Table of contents

No heading

No headings in the article.

Learned from Free Code Camp's Responsive Web Design:
One cool thing about id attributes is that, like classes, you can style them using CSS. However, an id is not reusable and should only be applied to one element. An id also has a higher specificity (importance) than a class so if both are applied to the same element and have conflicting
styles, the styles of the id will be applied.