So, heres what the difference between classes and IDs are.
IDs are used for elements that don’t repeat (ones that you only have one of) such as #footer
Classes are used for repeating things such as an LI element inside of a UL.
Your code wont validate if you have more than one of the same ID on the same page.
Hope that helps