why do people use " - " between their words instead of " _ " for example class ="btn-submit"
, isn't this inefficient? if you use "_" by double-clicking it will select the whole class name instead of only one side so copying and using it in CSS or javascript will be easier.
double click on each of these below to see the difference
class ="btn-submit"
class ="btn_submit"
so there is any specific reason to do it that way or it's just something that is people using by bad habit.