Accordion project
I have created a codepen to showcase my work on the accordion using the selectors covered in this class. I personally found the attribute selectors most useful, as I am currently building an image gallery in a personal project and these will definitely come in handy.
Here is a code snippet from that section:
.draw[data-type='T01'] .label {
background: #E3B23C;
}
.draw img[alt~=bike] {
transform: rotate(5deg);
}