Open rimmesbe opened 6 years ago
I got some of the gist of that and first updated the entire merchandise section a div with the class of "merchandise". Then gave the divs of each type of merchandise their own class, like "brushes". That worked, but then I saw you mean the unique selector id. so updated that too, and at first made the backgrounds of the entire div section turn color - good to know that can happen!
But not sure why id is preferred to class in this case? can you explain more?
You would need to create a chain to the h2 to get the background on them:
You could use class or id on the divs. But since you had an id I just stuck with that. Also id's can be used for internal links to the different sections.
Good use of divs to create sections. I would give the divs the unique selector like the id's on the h2s so you can target sections uniquely.
https://github.com/whaleguitar/prj-rev-bwfs-dasmoto/blob/master/DasmotosArtsNCrafts_jenlong/index.html#L11-L18