Tech writing comparison, normal style vs logician. JavaScript nth-child (2026)

By Xah Lee. Date: .

Tech writing comparison, normal style vs logician

common style, but ambiguous:

tag:nth-child(n)

Match tag if it is nth child element.

logician style:

tag:nth-child(n)

match element x if:

  • tag matches x.
  • x is nth child.