BuddyCooper44 / colmar-academy

capstone project
0 stars 0 forks source link

Incorrect use of ID #3

Open sdhunt opened 6 years ago

sdhunt commented 6 years ago

The id attributes of elements should be unique across the whole document.

In this snippet, ids with the same value have been declared on lines 107, 115, 123: https://github.com/BuddyCooper44/colmar-academy/blob/e9ab06954c7d05fbe4dddf5022df3a1c7976cf4a/index.html#L107-L123

The class attribute should be used in this case.

I hope the following article will help clarify the difference between the roles of id and class: https://css-tricks.com/the-difference-between-id-and-class/