3 ms·
How is naming things hard? I am looking at a comment, it contains two voting buttons, and some text. The elements should be : .comment, button.upvote, button.
by nailer 3y ago
How is naming things hard?
I am looking at a comment, it contains two voting buttons, and some text.
The elements should be : .comment, button.upvote, button.downvote, .text
If you have more elements than that you’re either doing something extraordinary or you need to learn CSS better.