I've been diving into the world of CSS and stumbled upon something that's left me puzzled.
Here is a snippet of HTML code:
<ul class="weblist">
<li>Coffee Brur</li>
<li>Taco Finder</li>
<li>CSS Selector Finder</li>
<li>HTML Formatter</li>
</ul>
And this line in the CSS file:
.weblist ul {
color: red;
}
I can't figure out why it's not working. My understanding is that it should select all descendants of the unordered list with the "weblist" class and apply a red color, but nothing happens. I'm trying to make all list elements within this specific unordered list appear in red.