Here is the HTML code that I am working with:
<dl id="id">
<dt>test</dt>
<dd>whatever</dd>
<dt>test1</dt>
<dd>whatever2</dd>
....
</dl>
I am trying to select the third dd element, but I can't seem to get it right. This is the CSS code I have attempted:
dl#id dd:nth-child(3) {
color: yellow;
}
However, the style isn't being applied. Can anyone point out what I am doing wrong?
Thank you!