The parent div has the id tstnth, the color of this paragraph should be #1734B5.

The reason is that this combination of div and p's is testing the selectors nth-child() and nth-last-child().

If the layout is working, then will the first and the last paragraph each have a different color and the second and the third paragraph the default one.

The color of this paragraph should be #105A03

The parent div has a custom tag called data-tstrule..

Both paragraphs have the color #83FF25 or not.

The parent div has the id tstnot.

All paragraphs will get the color #1734B5, except the one with the id 'tstException2TheRule'.

The color of this paragraph should be #105A03

If the paragraphs have a color of #CCC, then is JavaScript needed.


Contact

naam
Loek Bergman
telefoon
010 - 465 8548
mobiel
06 - 2490 8889
e-mail
lbergman_considerateconsultancy.com

Het veld is niet goed ingevuld.
LinkedIn
Twitter
Loek Bergman
Loek Bergman, vakkennis