Having trouble changing the color of my divs.
I am unsure how to set a different background color for each even div contained within an li element.
For instance:
<ul>
<li class="demo1">
<div class="d">
COLOR BLUE
</div>
</li>
<li class="demo1">
<div class="d">
COLOR RED
</div>
</li>
.
.
.
</ul>
I attempted using :nth-child but it is not functioning properly (I only specified the class name of the div).