When you are just starting out with the web and software development, it can be really scary. You might not even know what you need to know. Trust me, I know, I have been there. That is why I don’t expect my students to learn BEM, ACSS and other buzz words of the css world. What I would like them to do in their code, though, is to be consistent when naming classes. For example, if there is
blue-background class, then all of classes should be named in the same naming convention, using dash and lowercased words. I have seen lots of code like
black-background and then, a few lines later,
purple-bg. Some are named with dashes, some are camel cased.
But instead we can be consistent and just pick one:
For those interested more in some CSS methodologies that also solve problem of how to name a class, take a look at these links: