oOFrancescaOo / prj-rev-bwfs-dasmoto

UNIT 2 - CSS Project
0 stars 0 forks source link

Ids Instead of Class #6

Open jlag34 opened 5 years ago

jlag34 commented 5 years ago

https://github.com/oOFrancescaOo/prj-rev-bwfs-dasmoto/blob/88609abee654cdd055f2ef8e9dedda519aba63a0/DASMOTO/resources/css/style.css#L37-L47

You can make these ids instead of classes because they are all unique. This isn't necessary but is part of writing elegant CSS.

oOFrancescaOo commented 5 years ago

Hi Joe,

I actually had IDs before. I changed them, because I thought if it was a "real" site the categories might reappear throughout the pages ;-) But I get your point.

Thanks for your feedback!