Whenever you are working on a website with different sections, it's common practice to group each section with a <div> or <section>. This will help keep things organized and allow us to style it in more ways.
With this, we can now style any element by using the unique id as a starting point for the css selectors, for instance, if you wanted to change the background color of the <h2> element, we can do so like this:
#brushes h2 {
background-color: ...;
}
So go ahead and make those changes for each section you have
Whenever you are working on a website with different sections, it's common practice to group each section with a
<div>
or<section>
. This will help keep things organized and allow us to style it in more ways.Here's an example:
With this, we can now style any element by using the unique id as a starting point for the css selectors, for instance, if you wanted to change the background color of the
<h2>
element, we can do so like this:So go ahead and make those changes for each section you have