3 ms·
classes like m-5 or p-2 can be semantic enough. But using classes named with colors is silly. It's as silly as naming a function based on the content of a str
by newsbinator 8y ago
classes like m-5 or p-2 can be semantic enough.
But using classes named with colors is silly.
It's as silly as naming a function based on the content of a string it's manipulating.
const str = "cat";
function reverseCat(str){
return str.split("").reverse().join("");
}