I recommend against using to many element selectors to apply your CSS styles. Element selectors are some of the more broad CSS selectors available and a better alternative is to use a class or id. Since you only select <h2> once in your style sheets, rather using an h2 selector and id would be more appropriate because it is more concise and you can give it a name that accurately reflects what is being styled.
I recommend against using to many element selectors to apply your CSS styles. Element selectors are some of the more broad CSS selectors available and a better alternative is to use a
class
orid
. Since you only select<h2>
once in your style sheets, rather using anh2
selector andid
would be more appropriate because it is more concise and you can give it a name that accurately reflects what is being styled.