fac-15 / CCSM

Charlie, Cynthia, Susan, Mike's portfolio website
https://fac-15.github.io/CCSM/
0 stars 3 forks source link

CSS IDs vs classes #15

Open sbinlondon opened 5 years ago

sbinlondon commented 5 years ago

https://github.com/fac-15/CCSM/blob/810afa1d4503dd1d3ae111b45c3474e39fb010f2/index.html#L17

IDs should be individual for each element in the code and not reused, so that you can specifically target an element using the ID.

Classes are for things that are used over and over - for example, your 'name-fancy' class, where you apply the same style to each person's name.

Try and refactor your CSS a bit to reflect this! 😊