You can target an element that has no child elements by using the :empty
pseudo-class. With browser support down to IE9, it's solid, easy way to select empty elements without any additional markup.
Be aware that whitespace is considered a "child", so :empty
will not work if the element has no children, but has space between the opening and closing tags.
Usually egghead courses have great sound. But this and also Prof. Frisby's are absolutely awful. What is wrong with that?
Agreed. The sound quality is awful on this course.