ndw’s avatarndw’s Twitter Archive—№ 32,059

  1. TIL: It is unwise to use “.” as a separator in ID values. You can’t then easily search for them with document.querySelector in JavaScript because “.” is a separator character in CSS. CSS : XPath ≈ #root.part : id('root')/part