markthedesigner / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Using class or ID attributes over combining type selectors #3

Open zannain opened 6 years ago

zannain commented 6 years ago

Avoid combining a class or ID selector with a type selector as they are less specific. The benefit of class and id attributes is that you have the option of naming them something descriptive which makes the code more readable. An alternative would be to give the h2 selector a descriptive class or ID.